Forked from kirankarki/Upgrading rails 5.0 to 5.1
Created
September 20, 2018 08:20
-
-
Save ccelestial/604c51e04ab5e771f3733f231fc558c4 to your computer and use it in GitHub Desktop.
Notes on upgrading rails 5.0 to 5.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Change rails version in Gemfile | |
> gem 'rails', '~> 5.1', '>= 5.1.4' | |
2. Remove Gemfile.lock | |
> git rm Gemfile.lock | |
3. Run bundle install command | |
> bundle install --jobs=5 | |
4. Run rails' app update to apply changes to app | |
> rails app:update | |
Notes: check the differences first by choosing 'd' and then, choose 'Y or 'n' accordingly. | |
5. Run update to install dependencies, update db and remove old logs | |
> bin/update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment