Upgrading Rails app from 3.2.6 to 3.2.8
-
25-06-2021 - |
Question
I have a Rails app that was created using Rails 3.2.6
. Now that 3.2.8
has been released, is this all I need to do to update the app?
- Edit
Gemfile
, changing the linegem 'rails', '3.2.6'
to gem'rails', '3.2.8'
- Run
bundle update rails
What about other Rails-generated entries in the Gemfile
, such as sass-rails
, coffee-rails
and uglifier
?
Solution
Hat tip to Santiago Pastorino (Rails Core Team Member), who confirmed this is all that's required:
- Edit
Gemfile
, changing the linegem 'rails', '3.2.6'
togem 'rails', '3.2.8'
- Run
bundle update rails
OTHER TIPS
After running $ bundle install
, run $ rake rails:update
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow