search for: rb_opt

Displaying 1 result from an estimated 1 matches for "rb_opt".

Did you mean: r_opt
2008 Apr 08
2
Can you add an option to select the ruby interpreter for rake task?
...by) and ruby 1.9 (as ruby1.9) on my system. I use spec/rake/spectask for my Rakefile. But the generated command is ruby -I.. blabla it should be "ruby1.9 -I... blabla", but after look at the code of spectask.rb, I found this line: ==> cmd = "ruby " rb_opts = ruby_opts.clone rb_opts << "-I\"#{lib_path}\"" rb_opts << "-S rcov" if rcov rb_opts << "-w" if warning The "ruby" is hard-coded into it. May I request this to be an customizable option...