Since Rails 3.1 strongly recommends that it be installed with Ruby 1.9.2. But what about Ruby Enterprise Edition support? Ruby EE seems to be in the 1.8.x version, so I guess this means that future rails updates won't be working so well with it?
it's only a recommendation (and I suggest it too), because as you may know, 1.9.2 is the most recent version.
you can still use REE for your 3.1 rails app, but keep in mind that some day you'll be forced to switch to a newer ruby interpreter, and it's not a painless task (even if you have a decent test coverage).
if it's about a passenger matter, don't worry, it will work on 1.9.2 too ;)
if you generate new rails 3.1 app on 1.9 it will use new hash syntax, so you will not be able to easily switch to 1.8 later.
example: config/initializer/session_store.rb
uses new hash syntax
YourApp::Application.config.session_store :cookie_store, key: '_yourapp_session'
Our large Rails 3.1 app runs very slowly when we migrated it to ruby 1.9.2
We upgraded it rather than creating from scratch, so maybe we did something wrong, but running it with 1.9 is so slow it's unusable, switching to REE make it run nicely again.
I decided to take the plunge and moved my app over to REE. It seems to work the same, a bitter faster in fact. The memory usage seems about the same. The guys from Phusion did an awesome job with the installer :)
© 2022 - 2024 — McMap. All rights reserved.