On 8/16/07, Chris Richards <evilgeenius / gmail.com> wrote:
> 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 suppose you could serialize your objects/parameters and pass it though
> that way.
>
> Any decent ideas?
Hmm are Ruby and JRuby drb compatible? Maybe that would do the trick for you?
Would be great BTW.
> Thanks
> Chris
> --
> Posted via http://www.ruby-forum.com/.
>
>
Cheers
Robert

-- 
[...] as simple as possible, but no simpler.
-- Attributed to Albert Einstein