C
Chris Richards
Whats the best way of running a JRuby script from Ruby?
I know you can do this : `jruby script.rb`, but that won't allow passing
of parameters from ruby to jruby.
You could pass parameters by passing the Object.inspect string and then
doing an eval:
`jruby script/rb #{object.inspect}`
I know you can do this : `jruby script.rb`, but that won't allow passing
of parameters from ruby to jruby.
You could pass parameters by passing the Object.inspect string and then
doing an eval:
`jruby script/rb #{object.inspect}`