Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

migrating minor rails versions

I started a new rails project a few weeks ago with 3.2.3. Today I noticed that rails 3.2.4 and 3.2.5 have been released. I don't want to be behind already, so what's the best way to update my app to 3.2.5?

like image 961
pguardiario Avatar asked Jun 02 '12 23:06

pguardiario


1 Answers

  • Read the release notes.
  • Edit your Gemfile and run bundle update.
  • Update your .rvmrc file. (Optional)
  • Run your tests.
  • Repeat as necessary.

One caveat is that if you do not explicitly specify gem versions in your Gemfile you may update a gem and introduce breaking changes; I have been bitten by this because of my Gemfile laziness.

like image 62
Dave Newton Avatar answered Nov 15 '22 12:11

Dave Newton