开发者

How to update rails 3.0.3 to 3.1?

How do I update to Rails 3.1 ?

I am using windo开发者_运维问答ws xp with ruby console.

And is there a smart way to update a rails app from 3.0.3 to 3.1 or do I need to rewrite it all?


This question has a lot of useful information which might help you out: Upgrading from Rails 3 to Rails 3.1

It doesn't answer specifically for Windows, but there's a lot of advice and insight that you'll find useful for the upgrade.

The only advice I can offer on top of reading the answers in the above question is to have a bit of patience and not expect it to work straight away. There's a lot of changes in the way 3.1 works so expect to spend some time fixing it up.

Good luck!


I created one vanilla 3.0 site, added it to Git, then created a vanilla 3.1 site and copied it over the 3.0 site, deleting existing files first. A diff then showed me exactly what changed.


I would strongly recommend this and the following two railscasts in the series

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜