Skip to content

bsodmike/upgrade_rails_3.2.12_to_4.0.0.beta1

Repository files navigation

upgrade_rails_3.2.12_to_4.0.0.beta1

Important!

This upgrade script is only for Rails 3.2.12 apps. It'll work better the newer your app is. For more mature apps, you'll run into a lot more conflicts as this approach involves applying a git patch.

In this case, I'd suggest comparing your app against the generated app diff.

To resolve any conflicts you can tweak the patch file in upgrade/upgrade.patch.

Usage

  • In your Rails 3.2.12 app simply perform to let you know if the upgrade applies cleanly or not.
bash < <(curl -L https://raw.github.com/gist/5132812)
  • If and only if the above step does not report any errors, proceed to perform
bash < <(curl -L https://raw.github.com/gist/5136839)

Your Gemfile and Gemfile.lock will be backed up into upgrade\backups as seen in the source of this repo.

License

This project rocks and uses MIT-LICENSE.

About

Upgrade your Rails 3.2.12 app to 4.0.0.beta1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published