From: Roger Pack Date: 2010-09-09T05:09:04+09:00 Subject: Re: Portable method of launching another Ruby interpreter > I've seen people suggest using Config::CONFIG for this, however from > what I > can tell this doesn't work on JRuby. > > Are there any portable solutions to this problem? It should work on jruby, unless jruby was run as a jar file (like java -cp jruby-1.4.9.jar) in which case it won't. Gem.ruby is same as os gem's OS.ruby_bin I would be happy to implement a patch to the os gem to make it work with jruby from a jar, but it doesn't yet. -r -- Posted via http://www.ruby-forum.com/.