开发者

How to upgrade Rails project from Rail 3.0.5 to 3.0.6?

开发者 https://www.devze.com 2023-02-24 06:48 出处:网络
This is my first time looking at upgrading a Rails 3.0.5 project to 3.0.6. It was created using Ruby 1.9.2-p180 and Rails 3.0.5, and now 3.0.6 is out, maybe it is good to upgrade it as well (maybe开发

This is my first time looking at upgrading a Rails 3.0.5 project to 3.0.6.

It was created using Ruby 1.9.2-p180 and Rails 3.0.5, and now 3.0.6 is out, maybe it is good to upgrade it as well (maybe开发者_运维问答 small incremental upgrade is easier than a bigger upgrade later?). How would that usually be done?


switch from

gem 'rails', '3.0.5'

to

gem 'rails', '3.0.6'

in your Gemfile

and then run

bundle

0

精彩评论

暂无评论...
验证码 换一张
取 消