回滚轨道版

时间:2013-04-14 06:55:36

标签: ruby-on-rails rvm

我目前已经安装了Rails 3.2.13(gem install rails -v 3.2.13)。但由于某些原因,我需要回滚到版本3.2.13。我该怎么做? 现在:

> rails -v    
You have requested:

  rails = 3.2.13

The bundle currently has rails locked at 3.2.12.
Try running `bundle update rails`
Run `bundle install` to install missing gems.

1 个答案:

答案 0 :(得分:2)

在您的Gemfile中,查找gem 'rails'行并将其更改为

gem 'rails', '3.2.12'

然后运行bundle install