[英]Upgrade Rails to latest version
I'm new to the Ruby on Rails environment and would like to get input in relation to upgrading my Rails environment from 4.0.2 to 4.2.3, which I assume is the latest version. 我是Ruby on Rails环境的新手,并且想获得有关将Rails环境从4.0.2升级到4.2.3的信息,我认为这是最新版本。
My Ruby version is 2.0.0p353 (2013-11-22) [i386-mingw32]
. 我的Ruby版本是
2.0.0p353 (2013-11-22) [i386-mingw32]
。
bundle install cmd
to install all gems. bundle install cmd
安装所有gem。 Is there a similar command to upgrade to the latest version? In your gemfile change: 在您的gemfile中更改:
gem 'rails', '4.0.2'
to 至
gem 'rails', '4.2.3'
and in your terminal run bundle update
. 并在终端中运行
bundle update
。
If you are trying to update ONLY Rails, run: bundle update rails
. 如果您尝试仅更新Rails,请运行:
bundle update rails
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.