Last Updated: February 25, 2016
·
480
· bijendrakr

Update rails version in app

In case you want to update your rails version for a stable release.
Change the gem version in Gemfile, and run

$ bundle update rails 

It updates the bundle which locks the rails version once the application is created and bundle runs for the first time to ensure rails version is not automatically updated on running bundle install for different gems.