just downloaded latest 1.6.0 . it reports 1.8.7 - though 1.9.2 were
supported. is there an env var/ other switch required to have jruby
operate
in “1.9.2 mode”?
C:\java\jruby\bin>jruby -v
jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java
HotSpot™ Client VM 1.6.0_21) [Windows XP-x86-java]
On Thu, Apr 7, 2011 at 12:21 PM, Stephen B. [email protected]
wrote:
just downloaded latest 1.6.0 . it reports 1.8.7 - though 1.9.2 were
supported. is there an env var/ other switch required to have jruby operate
in “1.9.2 mode”?
C:\java\jruby\bin>jruby -v
Try (the pretty standard flag) jruby -h
for more options…
–
Hassan S. ------------------------ [email protected]
twitter: @hassan
The --1.9 command line option is not a desirable one given that is the
version I want to use *every *time. Is there not a way to change the
default
from 1.8 to 1.9?
2011/4/7 Hassan S. [email protected]
On Fri, Apr 8, 2011 at 5:09 PM, Stephen B. [email protected]
wrote:
The --1.9 command line option is not a desirable one given that is the
version I want to use every time. Is there not a way to change the default
from 1.8 to 1.9?
Change jruby.bat (and gem.bat, &c.):
@“jruby.exe --1.9” %1 %2 %3 %4 %5 %6 %7 %8 %9
On 'nix, set an alias.
Phillip G.
Though the folk I have met,
(Ah, how soon!) they forget
When I’ve moved on to some other place,
There may be one or two,
When I’ve played and passed through,
Who’ll remember my song or my face.
problem is that when typing “jruby” it finds the jruby.exe *first *not
jruby.bat
2011/4/8 Phillip G. [email protected]
Hi Stephen,
On Apr 8, 2011, at 10:09 AM, Stephen B. wrote:
The --1.9 command line option is not a desirable one given that is the version I
want to use every time. Is there not a way to change the default from 1.8 to 1.9?
You can also pick the compatibility version using the system property
jruby.compat.version. See jruby --properties
for details.
Either way, you can specify options for JRuby to always use by defining
the env var JRUBY_OPTS.
Rhett
Ok this is the answer I was looking for , thx!
2011/4/8 Rhett S. [email protected]