我正在尝试从 Rails 3.2.13 升级到 3.2.15。
旧宝石文件
gem 'rails', '3.2.13'
新的 Gemfile
gem 'rails', '3.2.15'
当我运行 bundle 时,我得到了这个:
$ bundle
Fetching gem metadata from https://rubygems.org/......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
In snapshot (Gemfile.lock):
activesupport (3.2.13)
In Gemfile:
rails (= 3.2.15) ruby depends on
activesupport (= 3.2.15) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
我在网上找到的建议是运行bundle update rails
来解决这个问题,但这将更新到 Rails 4.0。
我该如何解决这个问题?