[英]How can I update rails older version to new version
In my system I have rails 4.2.5 and ruby 2.2.3. 在我的系统中,我有rails 4.2.5和ruby 2.2.3。
how can I update to rails 5.0.0.beta version. 如何更新到Rails 5.0.0.beta版本。
Thank you. 谢谢。
The upgrade instructions for the current beta are available here . 当前Beta的升级说明可在此处获得 。
You need to have a test suite with good coverage before you begin. 开始之前,您需要具有覆盖面广的测试套件。 Run rake rails:update
to update your configs. 运行rake rails:update
来更新您的配置。 You also need to follow the instructions on the upgrade page, which include changing class names to the ones that are currently in use. 您还需要按照升级页面上的说明进行操作,其中包括将类名更改为当前使用的类名。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.