First  |  Prev |  Next  |  Last
Pages: 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
compile ruby sources with mingw for ms-windows-386
[Note: parts of this message were removed to make it a legal post.] Can you point me to the path that will show how to compile ruby sources with mingw? -- Ranieri Barros Teixeira UFPA - FACOMP - CBCC http://multiligado.blogspot.com/ ... 10 Jul 2008 21:39
Why Ruby interpreter is writed in c (not in c++)?
[Note: parts of this message were removed to make it a legal post.] Hi, I've downloaded the sources of Ruby 1.8.7-p22 and compiled it with MS CL compiler. Ok, very well. But, the code is in structured C, not in object oriented C++. Why? C++ doesn't provides the sabe low level facilities as C and the powerful ab... 14 Jul 2008 10:35
Communication between 2 ruby programs
Hi! I am having a hard time solving this issue and I'm sure you guys know how to treat that very easily! I've got a "bot" on one side which runs : class Bot def self.start loop do input = gets # Get a user input from STDIN # do some stuff with the input! end end Bot:start end ... 11 Jul 2008 01:45
Map with &:method_name
I see this a lot but it doesn't work for me in IRB. Is a gem required or something? [1,2,3].map(&:to_s) TypeError: wrong argument type Symbol (expected Proc) from (irb):2 -- Posted via http://www.ruby-forum.com/. ... 10 Jul 2008 22:41
Ruby Raw Sockets
Hello, I am trying to do packet injection through a Ruby socket, like this: PF_PACKET = 17 # linux/socket.h AF_PACKET = PF_PACKET # linux/socket.h ETH_P_ALL = 0x03_00 # linux/if_ether.h (but in network byte order) SIOCGIFINDEX = 0x89_33 # bits/ioctls.h def inject(interface, packet_byte... 10 Jul 2008 18:35
wsdl/operation.rb blowing up
I am attempting to do some SOAP scripting for my first time, and have run into a problem pretty early on. When I use the "factory.create_rpc_driver" I get the error as shown below. Interestingly, when I use the deprecated "factory.create_driver" the driver is created, but the rest of my script doesn't work (I th... 10 Jul 2008 16:31
file modes
A post on Arc [http://arcanesentiment.blogspot.com/2008/07/arc-gets-io-right.html] made an excellent point - file modes are essentially exposing a low level implementation detail for a high level feature. Would be nice to have File.open_read, open_write and open_append (or less clunky names if anyone can think them... 10 Jul 2008 18:35
character-encodings gem with Ruby 1.9
Hello, I tried to install Nikolai Weibull's Ruby Character Encodings Library [1] with Ruby 1.9, but didn't succeed. $ sudo gem1.9 install character-encodings Building native extensions. This could take a while... ERROR: Error installing character-encodings: ERROR: Failed to build gem native extension. /o... 15 Jul 2008 07:09
(www.stefsclothes.com)supply nike air jordan shoes(paypal accept)
(www.stefsclothes.com)supply nike sports shoes,nike jordan shoes,nike shox,air max shoes,dunk (www.stefsclothes.com)supply nike air max LTD shoes (paypal accept) (www.stefsclothes.com)supply nike shox r4 r5 nz oz shoes (paypal accept) (www.stefsclothes.com)supply red monkey jeans,evisu jeans (paypal accept) (www... 10 Jul 2008 15:29
calling c++ from Ruby
Hi, I wrote this question on the newsgroup yesterday, but I didn't see it actually get posted. Here it goes again. I'm trying to call a c++ function from Ruby and I'm getting some errors compiling the c++ part. Here is my code: #include "ruby.h" #include <iostream> #include <stdarg.h> VALUE MyTest = Qnil; ... 23 Jul 2008 22:34
First  |  Prev |  Next  |  Last
Pages: 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291