Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrading Rails app from 3.2.6 to 3.2.8

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?

  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

What about other Rails-generated entries in the Gemfile, such as sass-rails, coffee-rails and uglifier?

like image 580
Mike Avatar asked Aug 10 '12 08:08

Mike


2 Answers

Hat tip to Santiago Pastorino (Rails Core Team Member), who confirmed this is all that's required:

  1. Edit Gemfile, changing the line gem 'rails', '3.2.6' to gem 'rails', '3.2.8'
  2. Run bundle update rails

Confirmation tweet.

like image 158
Mike Avatar answered Nov 10 '22 23:11

Mike


After running $ bundle install, run $ rake rails:update

like image 32
Hoa Avatar answered Nov 10 '22 23:11

Hoa