Forum: Ruby on Rails upgrading an old rails project to the newest version

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Sean C. (Guest)
on 2007-07-12 07:41
Does anybody have any tips on upgrading an older rails project to a
newer version of rails? I have a project that is still calling up
WeBrick in dev mode and I'd like to bring it up to date. Short of
creating a whole new rails project and copy-pasting, is there a quick
and easy way to upgrade?

Thanks!
Steve R. (Guest)
on 2007-07-12 09:11
(Received via mailing list)
First commit anything you've done and tag it with some note about the
working version of Rails that supports that code. Next:

rake rails:freeze:edge
  (if it's really old, then just rake freeze edge)
rake rails:freeze:edge

Yes, I really meant to type that twice. The first time you update
most of the core but don't pull down ActiveResource, the next time,
the new Rake task is on your local computer so ActiveResource is added.

Then

rake rails:update

rake

And see what tests are broken.
This topic is locked and can not be replied to.