Chiyuan Zhang
2008-Apr-08 15:53 UTC
[rspec-users] Can you add an option to select the ruby interpreter for rake task?
Hi all, My problem is that I''ve installed both ruby 1.8 (as ruby) 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 so that I can set it to "ruby1.9"? -- pluskid
Pat Maddox
2008-Apr-08 16:21 UTC
[rspec-users] Can you add an option to select the ruby interpreter for rake task?
On Tue, Apr 8, 2008 at 8:53 AM, Chiyuan Zhang <pluskid at gmail.com> wrote:> The "ruby" is hard-coded into it. May I request this to be an > customizable option so that I can set it to "ruby1.9"?Please file a ticket at http://rspec.lighthouseapp.com Pat
Chiyuan Zhang
2008-Apr-08 16:36 UTC
[rspec-users] Can you add an option to select the ruby interpreter for rake task?
OK, done: http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/370-add-an-option-for-rake-task-to-select-ruby-interpreter On Wed, Apr 9, 2008 at 12:21 AM, Pat Maddox <pergesu at gmail.com> wrote:> On Tue, Apr 8, 2008 at 8:53 AM, Chiyuan Zhang <pluskid at gmail.com> wrote: > > The "ruby" is hard-coded into it. May I request this to be an > > customizable option so that I can set it to "ruby1.9"? > > Please file a ticket at http://rspec.lighthouseapp.com > > Pat > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- pluskid
Seemingly Similar Threads
- How to run stories with `spec'' command?
- env: ruby1.9: No such file or directory - FIX
- Ruby 1.9 problem
- invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
- xrcise not working