Upgrading from Rails 2.1 to 2.2
Upgrading from Rails 2.1 to 2.2
February 25, 2009
I have a small project that I developed at work using Rails 2.1. After installing the latest version of Rails, 2.2.2, I had to do the following to get my project working again:
- Edit
config/environment.rband change the value of RAILS_GEM_VERSION to ‘2.2.2’. - Edit
config/environments/development.rband comment out theconfig.action_view.cache_template_extensionsline. - Run
rake rails:upgrade. This added a new file,script/dbconsole, and modified the following files:config/boot.rbpublic/javascripts/controls.jspublic/javascripts/dragdrop.jspublic/javascripts/effects.jspublic/javascripts/prototype.js