Reputation: 1
Did anyone tried with jruby 1.6.5 to work with rails 2.3.10 or 2.3.x version ?
Upvotes: 0
Views: 172
Reputation: 7166
it sure is and I recommend you go with the latest 1.6 which is 1.6.8
jruby-1.6.x is ruby 1.8.7 compatible which is "ideal" for rails 2.3.x
try running jruby -v
you'll get something like:
jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java HotSpot(TM) Server VM 1.6.0_32) [linux-i386-java]
reporting ruby-1.8.7-p357 compatibility (in --1.8 mode) ...
if you're about to use a Java webserver such as Trinidad (or Warbler) that uses JRuby-Rack as the compatibility layer between Rack/Rails and Servlets be sure to use (~> 1.1.13) 1.1.13.3 it's (backwards) compatible with all JRuby 1.6.x and runs Rails 2.3x (as well).
Upvotes: 2
Reputation: 15525
Well, I would just give it a try. JRuby 1.6.5 tries to be complient to Ruby 1.9.x, so the real question could be one of these:
I don't remember what you had to to to use Rails 2.3.x, but if should be similar easy to do the following steps (if you have used rvm
to install JRuby 1.6.5):
rvm use jruby1.6.5
gem install <missing-gem> -r
And as the real answer: No, I did not try to use JRuby 1.6.5, because I switched all Rails apps to 3.x long before JRuby 1.6.5 came out.
Upvotes: 1