我在Gemfile中添加了一个gem'koala',并且当我运行'bundle install'命令时似乎已经把gem版本从whack中删除了:
Bundler could not find compatible versions for gem "faraday":
In snapshot (Gemfile.lock):
faraday (0.6.1)
In Gemfile:
koala (~> 1.2.0beta1) depends on
faraday (~> 0.7.4)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
如何解决此冲突?
最佳答案
删除Gemfile.lock
的内容,然后再次运行bundle install
。那一直在为我工作。
关于ruby-on-rails-3 - Bundler找不到gem的兼容版本,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7144846/