简体   繁体   English

如何将现有的旧rails项目更新为更新版本

[英]How do I update an existing older rails project to a newer version

I have a Rails project using rails 3.0.7. 我有一个使用rails 3.0.7的Rails项目。

I want to update it to 3.1.0.rc6. 我想将其更新到3.1.0.rc6。

However the directory structure of these are really different, 但是这些目录结构确实不同,

is there an automatic way to transfer the directory structure? 是否有自动转移目录结构的方法? Thank you very much. 非常感谢你。

I'm not aware of an automated way to update Rails apps to 3.1, but I found David Rice's blog entry about to be a pretty good overview of the steps involved. 我不知道将Rails应用程序更新为3.1的自动方式,但我发现David Rice的博客文章对所涉及的步骤非常了解。 You can find the overview at: http://davidjrice.co.uk/2011/05/25/how-to-upgrade-a-rails-application-to-version-3-1-0.html 您可以在http://davidjrice.co.uk/2011/05/25/how-to-upgrade-a-rails-application-to-version-3-1-0.html找到概述。

我创建了一个github项目来跟踪默认生成的rails项目布局的差异https://github.com/pmq20/rails-diff-track

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM