【发布时间】:2013-03-13 21:42:29
【问题描述】:
我迁移到 3.2.13 版本的 rails 并收到此错误,我该如何解决?
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.12)
In Gemfile:
rails (= 3.2.13) ruby depends on
activesupport (= 3.2.13) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
编辑
sinatra (1.3.6)
rack (~> 1.4)
rack-protection (~> 1.3)
tilt (~> 1.3, >= 1.3.3)
【问题讨论】:
-
您是否通过运行
gem update rails对其进行了更新? -
你能发布你的 Gemfile 吗?里面有没有锁定版本的宝石?
-
你试过
bundle update吗? -
我也安装了 rails 3.2.13 版。我尝试了捆绑更新,它似乎没有帮助。我已经附加了在 Gemfile.lock 文件中看到的 sinatra 依赖项。我只是不需要对它有任何直接依赖,但捆绑器仍然希望它存在。
标签: ruby-on-rails ruby-on-rails-3.2 activesupport