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
?
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
After running $ bundle install
, run $ rake rails:update
来源:https://stackoverflow.com/questions/11898361/upgrading-rails-app-from-3-2-6-to-3-2-8