Rails 2.2 and I18n
The work done last weeks in the rails-2.2 branch was merged into the trunk a few minutes ago (r2493).
So current trunk now requires Rails 2.2.2 to be installed. Installing the appropriate gem is pretty straightforward:
gem install rails -v=2.2.2
Here are some important notes for people who want to upgrade their trunk checkout:
- If you had frozen Rails in your working copy, make sure to remove it before restarting the application (simply remove
/vendor/rails). Otherwise the application will use this old frozen Rails version, and won't start.
/tmp/sessionsand improves overall response time.
To insure data integrity, the cookie store needs a secret to be generated before the first time you start the application. A rake task was added to make this step easier. You just need to run the following command from your Redmine directory:
Another big change was done on the internationalization support. Redmine now uses the new I18n module shipped with Rails 2.2, instead of the GLoc plugin. Translation files can be found under
/config/locales. Contributors are now invited to submit their translation updates based on these files.
The 0.8-stable branch and the forthcoming 0.8.x releases will still use Rails 2.1.2.