Migrate from rails 3.0.0 to rails 3.0.3
I am developing on a linux machine and am us开发者_开发问答ing rails 3.0.0 but am to move it to a windows machine which have rails 3.0.3 installed.I would like to know how to migrate my application from 3.0.0 to 3.0.3..thanks .
in your gemfile, write gem 'rails', '3.0.3'
instead of gem 'rails', '3.0.0'
i don't think there are substantial differences between these versions so that should do it
Change the Gemfile from
gem 'rails', '3.0.0'
to
gem 'rails', '3.0.3'
Run
$ bundle update rails
Then run the rake task
rake rails:update
Make sure all your tests pass
rake test
精彩评论