Things developed a bit with Rails 2, so I shared what I needed to do to get from 5.0.0 to 5.0.0.1 today.
My Gemfile read gem 'rails', '~> 5.0.0' . I figured that was enough , but bundle install did not update anything new. So I tried to do this with gem 'rails', '~> 5.0' , which also didnβt do anything new when I started the update (note: this is for an experimental application and not for another application I'm working on) just by default, version updates to solve such problems;)). So I had to try some more ways to force this patch / security patch.
First I had to install the package locally:
gem install rails --version 5.0.0.1
Then I updated the package:
bundle install
... and I saw this in the output: Using rails 5.0.0.1 (was 5.0.0)
When I ran ./bin/rake rails:update , it destroyed the contents of my config/routes.rb , changed many of my settings in various configuration files (some of which were dangerous security settings to change), among several others, it would seem benign changes. Although this is an expected behavior, I point out that this is not an entirely desirable method for updating a minor fix / fix for rails.
source share