I know that I can run JRuby with 1.9 compatibility with a flag --1.9. There are no problems.
However, I cannot get Rails3 to work with JRuby 1.6.2 in 1.9 mode in Windows XP. Did I miss something?
Here are my details about JRuby 1.6.2:
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 is the output when starting Rails3 with JRuby and a flag --1.9:
C:\DEV\Jruby\jrails\foobar>jruby --1.9 -S rails s
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http:
=> 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
As you can see, Rails3 starts with ruby 1.8.7.
By the way, I have no problem running Rails3 with JRuby 1.6.2 in 1.9 compatibility mode on FreeBSD, and I believe that this is also normal for Linux. I just can't get it to work on Windows.
Can someone tell me why I can not start Rails3 with JRuby 1.6.2 in 1.9 mode?
source
share