What do I need to do to upgrade an application to the latest Rails version?

倾然丶 夕夏残阳落幕 提交于 2019-12-01 04:45:32

You'll also need to go into your application directory and run the following command:

rake rails:update

Then run your tests and make sure everything works.

As far as I know, that right there defines what version of rails your application as a whole will use. I know for a project I'm in right now I had to override that to 2.1.1 to work on my VM because I had installed the latest, and had not specified the 2.1.0 as required by the project.

The biggest thing you have to watch out for is plugins and extensions that may override this setting, as well as incompatibility that will likely arise from changing versions.

Also there are some known issues with 2.1.1, unless there is a feature you absolutely need now, you may want to wait.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!