Ruby 1.9?

Is ready for production applications?
I’ve installed the latest jruby version, 1.4RC2, but under directory
lib/ruby/gems I see a 1.8 directory, there isn’t 1.9.
Can I use 1.9?
Sorry for my bad english.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I believe the compatibility for 1.9 is being worked on still. As taken
from
jruby.org, the version you have is 1.8.7 patchlevel 174.

$ jruby --1.9 -S irb
irb(main):001:0> JRUBY_VERSION
=> “1.4.0RC2”
irb(main):002:0> RUBY_VERSION
=> “1.9.2dev”

jruby.compat.version=RUBY1_8|RUBY1_9
   Specify the major Ruby version to be compatible with; Default is

RUBY1_8

I am not sure I would recommend production deployment with 1.9 mode,
but it is definitely at a point where you should be testing
applications with it to find 1.9 compatibility issues.

The rubygems repo is shared between both 1.8 and 1.9 and it’s location
is in 1.8 directory (this has to do with rubygems installer). In
theory gem-writers have been asked to make their gems work in both 1.8
and 1.9 modes so in ‘theory’ this should not be a big issue. Then
again, 1.9 is still not a popular Ruby version yet and I am sure most
gem writers have not tested their gems against 1.9.

-Tom

On Sat, Oct 24, 2009 at 7:07 AM, Mauro [email protected] wrote:


blog: http://blog.enebo.com twitter: tom_enebo
mail: [email protected]


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email