migrating minor rails versions

后端 未结 1 1916
难免孤独
难免孤独 2021-01-11 10:33

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 b

1条回答
  •  粉色の甜心
    2021-01-11 11:25

    • 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.

    0 讨论(0)
提交回复
热议问题