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.