简体   繁体   中英

How to update rails 3.0.3 to 3.1?

How do I update to Rails 3.1?

I am using windows 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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