Forum: Ruby on Rails Migrating Rails 1.0 Application to 1.1

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.
40db9e75b3f5899258e3bdc0c9210154?d=identicon&s=25 Conrad Taylor (Guest)
on 2006-04-01 07:44
(Received via mailing list)
Hi, I was wondering, what's the steps to migrating a Rails 1.0 to 1.1?

Thanks in advance,

-Conrad
47093444301bbde90d0aef5fa5c3ac86?d=identicon&s=25 John Hornbeck (Guest)
on 2006-04-01 07:53
(Received via mailing list)
>From the Rails Weblog

"

*Upgrading from 1.0*

So with such a massive update, upgrading is going to be hell, right?
Wrong!
We've gone to painstaking lengths to ensure that upgrading from 1.0 will
be
as easy as pie. Here goes the steps:

   - Update to Rails 1.1:
   gem install rails --include-dependencies
   - Update JavaScripts for RJS:
   rake rails:update

That's pretty much it! If you're seeing any nastiness after upgrading,
it's
most likely due to a plugin that's incompatible with 1.1. See if the
author
hasn't updated it and otherwise force him to do so.

If you're on Ruby 1.8.2 with Windows, though, you'll want to upgrade to
the
1.8.4 (or the script/console will fail). And even if you're on another
platform, it's a good idea to upgrade to Ruby 1.8.4. We still support
1.8.2,
but might not in the next major release. So may as well get the
upgrading
with over with now."
Eb778b8bb642aa8a82c2b8b63705b6af?d=identicon&s=25 Jean-Etienne (Guest)
on 2006-04-01 07:55
Conrad,

It's very easy, check:
http://weblog.rubyonrails.org/articles/2006/03/28/...

Note that you may have problems when upgrading to ruby 1.8.4, replace
all your tabs with spaces.

<quote>
Upgrading from 1.0

So with such a massive update, upgrading is going to be hell, right?
Wrong! Weâ??ve gone to painstaking lengths to ensure that upgrading from
1.0 will be as easy as pie. Here goes the steps:

    * Update to Rails 1.1:
      gem install rails --include-dependencies
    * Update JavaScripts for RJS:
      rake rails:update

Thatâ??s pretty much it! If youâ??re seeing any nastiness after upgrading,
itâ??s most likely due to a plugin thatâ??s incompatible with 1.1. See if
the author hasnâ??t updated it and otherwise force him to do so.

If youâ??re on Ruby 1.8.2 with Windows, though, youâ??ll want to upgrade to
the 1.8.4 (or the script/console will fail). And even if youâ??re on
another platform, itâ??s a good idea to upgrade to Ruby 1.8.4. We still
support 1.8.2, but might not in the next major release. So may as well
get the upgrading with over with now.
</quote>
This topic is locked and can not be replied to.