Which Ruby is in use?
Is there a way to tell from within a program which executable is being used -- which executable, not the version -- to run it? Seems like there should be, but I'm striking out... TIA, -- Hassan Schroeder ------------------------ hassan.schroeder(a)gmail.com twitter: @hassan ... 28 Jul 2010 19:34
In Ruby 1.9 Test::Unit::TestCase parse ARGV differently
After upgrading to Ruby 1.9, I found that class Test::Unit::TestCase parse ARGV parameters in different way. Here is the sample code: require 'test/unit' class Test_Main < Test::Unit::TestCase def test1 puts "ARGV = %s" % ARGV puts "ARGV = %s" % ARGV puts "ARGV = %s" % ARGV end... 28 Jul 2010 09:38
Where can I find the 'shebang' line?
I seem to be having trouble with RVM (after an update to Rails 3 RC), where when I do a: rake db:migrate I am given the error: ------------------------------------------ /Users/me/.rvm/gems/ruby-1.9.2-head/gems/sqlite3-ruby-1.3.1/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault ruby 1.8.7 (2009-... 27 Jul 2010 18:22
Is there anyway to make it so that --color be a default option? Like a global ~/.rspecrc file? -- Thank you for your brain. -MrZombie ... 27 Jul 2010 13:56
Dolphin Dale high School: N Naveen Chowdary
N Naveen Chowdary At Dolphin Dale High School. Dolphin Dale High School Leader Of 8th Class. Batch : 2010 Naveen Is Leader , First Ranker Of Dolphin. Meet Naveen At Ranganayukulapeta. Good Bye. ... 27 Jul 2010 11:43
Issue with mongrel and apache.
Allan Davis wrote: I just upgraded rails to 2.3.8 on my test server and now the apache is adding an Content-Type: text/plain to the outgoing response. If i just go the the mongrel port it renders the response correctly. On all browsers? Also you may want to ping the RoR ML. -r -- Posted via http... 27 Jul 2010 08:23
sample programm using savon to connect toms-exchange ?
Hi, does anyone have a sample programm using savon to connect to ms-exchange ? any response is welcome. thank you. Dani -- Posted via http://www.ruby-forum.com/. ... 27 Jul 2010 08:23
To James, I'm still on windows xp. I tried putting the calc.rb file inside the bin folder, and "ruby calc.rb" worked, as well as "calc" and "calc.rb" Is this what you guys were saying? The tutorial didn't say anything about the bin folder or where exactly to save the programs. It only said to make a folde... 28 Jul 2010 05:16
Beginner help needed: use a class def to create new instance
I am attempting to put as much code inside classes as possible, to economize the code in the main body. However, how do I create a new class instance using only a method defined in a class? For instance, in the following code, I want to create a new Class Character instance named newchar by fleshing out the code ... 1 Aug 2010 08:19
IO.popen exit the program when it failed
i have been trying to recieved the output of a command with IO.popen and it works great but if i place a unknown command to the system the ruby program terminates. def comando ( inputcmd ) f = IO.popen(inputcmd) output = f.readlines return output end #################################################... 27 Jul 2010 08:23