-
-
Save International/fe120d9ddbcaf60c0e2764212d83099b to your computer and use it in GitHub Desktop.
Notes on upgrading rails 5.0 to 5.1
This file contains hidden or 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