Displaying 3 results from an estimated 3 matches for "ruby_opts".
2010 Jun 30
0
rake TestTask problem with t.options
..."/usr/lib/ruby/
gems/...]
--------------------
# My rake task:
require ''rake''
require ''rake/testtask''
require ''rake/rdoctask''
namespace :tcp_test do
Rake::TestTask.new(''job_create'') do |t|
# t.loader = :testrb
# t.ruby_opts = [''-n test_job_create'']
t.options = ''-n test_job_create''
t.verbose = true
t.pattern = ''test/integration/tcp_test.rb''
t.name = ''job_create''
end
end
--
You received this message because you are subscribed to the Googl...
2008 Apr 08
2
Can you add an option to select the ruby interpreter for rake task?
...by 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...
2010 Dec 24
2
buildr Windows 7 64 bit problems
Preface: I''m not overly familiar with the inner workings of RoR, so I
apologize for my relatively superficial knowledge upfront
I have a new 64 bit Windows 7 machine.
My dev environment on my old machine which functions fine (sans a
functioning monitor -- thus the new machine), I have the following
installed and functioning well:
Ruby 1.8.6 using the Windows MSI installer
Buildr 1.3.3