> I have a coworker who have a Rails 1.2 website (1.2.2 to be exact) and
> recently I installed in her workstation Rails 2.1. Obviously, her
> project doesn't work in that version because the WEBrick ask to
> install the previous version.

On another computer, install a higher Rails version, such as 1.4, change the 
RAILS_GEM_VERSION in environment.rb, and run rake rails:update.

Then run all your tests (you do _have_ tests, right?), and commit your code if 
they pass.

Then repeat for, say Rails 1.6. Keep walking the version up.

At any time, if the tests fail, rock back to the previous baselined version, 
and 
then make whatever changes are needed so the tests would pass in the higher 
version. Then integrate (meaning pass all tests), and then try the next version 
again.

You can keep going like that until you hit 2.1.

Oh, and certain plugins will die, as their authors abandoned them. You can 
cover 
that by removing the plugins and commenting-out whatever features they 
provided. 
Then rebuild them.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to