Displaying 3 results from an estimated 3 matches for "ruby_opt".
Did you mean:
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 Goog...
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 ca...
2010 Dec 24
2
buildr Windows 7 64 bit problems
...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
rails 2.3.2
jdk 1.6.023 (32bit) with JAVA_HOME set
RUBY_OPT is set to -rubygems
I tried to install the above environment on the new machine with
failures. Initially, when I did a standard install of the above
without rolling back to earlier Buildr versions and using Ruby 1.9.x,
I would get failures in the deployment of the jvm. So I tried to
delete the...