I know that I can run JRuby with 1.9 compatibility with the --1.9
flag. No problems here.
However, I cannot get Rails3 to run with JRuby 1.6.2 in 1.9 mode on Windows XP. Am I missing something?
Here are my JRuby 1.6.2 version details:
C:\DEV\Jruby\jrails\foobar>jruby -v
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-26 1.6.2) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows XP-x86-java]
And here's the output when starting up Rails3 with JRuby and the --1.9
flag on:
C:\DEV\Jruby\jrails\foobar>jruby --1.9 -S rails s
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2011-05-27 00:16:34] INFO WEBrick 1.3.1
[2011-05-27 00:16:34] INFO ruby 1.8.7 (2011-05-27) [java]
[2011-05-27 00:16:34] INFO WEBrick::HTTPServer#start: pid=7160 port=3000
As you can see, Rails3 starts up with ruby 1.8.7.
By the way, I have no problems running Rails3 with JRuby 1.6.2 in 1.9 compatibility mode on FreeBSD, and I reckon it might be OK on Linux as well. Just can't get it to work on Windows.
Could someone tell me why I can't run Rails3 with JRuby 1.6.2 in 1.9 mode?