Migrate an application from 2.3.8 to 3.1 [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question 开发者_如何学运维any advice about how to migrate an app from rails 2.3.8 to rails 3.1? Should I go from 2.3.8 to 3.0 and then to 3.1?
Let me know your thoughts...
I'm especially interested in the approach to the Gemfile... and bundler. Any resource link would be welcome.
Thanks.
I'd recommend migrating to the latest version of 2.3 (2.3.14) before doing anything. Once you are on 2.3.14 you should run your tests and check your logs for any warnings and fix them. Once any issues are resolved, go ahead and try upgrading to 3.1.1. I think the largest change from 3.0 to 3.1 was the asset pipeline and you can ignore it while upgrading. As for resources, both PeepCode and RailsCasts offer great guides for doing exactly what you want.
精彩评论