How to update rails 2.3.10 to 3.x

2019-07-28 02:22发布

问题:

Currently I am using rails 2.3.10, I want to update my rails version to version 3. What's the command to update rails?

回答1:

So, the basic command would be:

gem update rails

But, upgrading from 2.3.x to 3.x isn't a trivial task... you should really read up a little more on it before you do so.



回答2:

Ryan Bates shows you how to do it here. The Rails version you are using are completely different so you will have to upgrade Rails and then use this plugin to help upgrade your application unless you already know everything.