If you have Rails 2.x on your local machine and you want to run an old Ruby on Rails app (on an older version of Rails) you will find that there are some files that need updating before it will start.
First you should ensure that RAILS_GEM_VERSION in environment.rb is set to the version of Rails you want to use.
And the rest is all automated, just run:
rake rails:update
Job done.
About Paul
Paul works for Kyan web design agency in Surrey, UK as a Ruby on Rails developer.
Follow Paul on Twitter
Email: paulsturgess [at] gmail.com
Got something to say?