Created
October 30, 2017 13:19
-
-
Save kirankarki/5b9009b2e8014937ca541821ee622bab 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
Thank you for the instruction!
Is this should be
bundle update
? What is the command here?