Workflow for upgrading Rails versions

Public, Rails General

harrylevine

Created: Dec 25, 2017     Updated: Dec 25, 2017


First, read through the Rails "A Guide for Upgrading Ruby on Rails".

In general, you can follow the steps in this Ruby on Rails Upgrade Guide blog post.

Here is a summary of those steps:

- gem 'rails', '4.2.1'
+ gem 'rails', '4.2.2'

For upgrading from Rails 4.2.10 to 5.0.0, be sure to review this guide from Rails, as there are many changes.

Also note that the update task changes once you get to Rails 5.0.