Possible to call org.jruby.Main and have it use JRUBY_OPTS

I assume it’s…not possible to have something like

system(“java -jar xxx org.jruby.Main”)

and have it use JRUBY_OPTS as expected?
Thanks.
-r

On Mon, Feb 15, 2010 at 11:33 AM, Roger P. [email protected]
wrote:

I assume it’s…not possible to have something like

system(“java -jar xxx org.jruby.Main”)

and have it use JRUBY_OPTS as expected?

JRUBY_OPTS is a synthetic environment variable used by the JRuby shell
script, so no, it’s not possible without deciding to move that logic
into JRuby startup code.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email