Saturday, May 24th, 2008

Upgrading Ruby on Rails application from 1.2.3 to 2.0.2

Problem
Upgrading an existing Ruby on Rails application from 1.2.3, to 2.0.2, presents few problems. I will try and keep a record of the ones I encounter along the way, here.
Solution

Change the config/environment.rb to let the application know to use the 2.0.2 gem rail version,
change the following line from:
RAILS_GEM_VERSION = ‘1.2.3′ unless [...]

No Comments » - Posted in ruby on rails by kosmas

Tuesday, April 8th, 2008

Upgrading to Rails 2.0.2 problems/solutions

Problem
Upgrading from Rails version 1.2.3 to version 2.0.2.
Following the suggestion in DH’s weblog here when using sudo gem install rails -y, it gets the trunk version of rails which at the time was 2.0.2.9216.
This causes a few problems and breaks a few more things.
Solution
In order to get back to the latest stable version, you have [...]

No Comments » - Posted in ruby on rails by kosmas