From: Austin Ziegler Date: 2011-07-16T23:08:50+09:00 Subject: Re: Help needed for a new release of text-hyphen On 2011-07-15, at 18:40, Charles Oliver Nutter wrote: > On Fri, Jul 15, 2011 at 8:37 AM, Austin Ziegler wrote: >> Sadly, JRuby in 1.9 mode won't work because of an apparent bug in >> JRuby itself, and "jruby --1.9 -S rake test" only looks like it works >> because the test actually runs JRuby again in 1.8 mode. A bug has been >> filed for the former case, but an improvement has not yet been filed >> for the latter case. > > Ok, I see your bugs. We'll have a look into it. > > FWIW, you can specify JRUBY_OPTS=--1.9 and it will pass through to the > child JRuby instances too. But I agree, we need a dotfile or similar > to force it. I think it's a little more subtle than that, as I noted in my last comment on the --1.9 improvement request. When JRuby starts with --1.9 (whether through an arg, an opt, or a dotfile), it should essentially do: ENV["JRUBY_OPTS"]="--1.9" Of course, it should be a bit smarter than that, preserving other values, but this way you get the same expected behaviour that you get when MRI spawns another instance of MRI based on RbConfig::CONFIG["ruby_instance_name"]. -a « from my iPad