我真的把头撞到了墙上,我自己找不到解决这个问题的方法。
我正在使用 Spree 商业分支 Solidus 开始一个项目。我用 gem 玩了一会儿,现在我已经准备好认真并开始开发了,我创建了一个新项目广告,但遇到了这个令人讨厌的错误:
Bundler could not find compatible versions for gem "rails":
In snapshot (Gemfile.lock):
rails (= 5.1.2)
In Gemfile:
rails (~> 5.1.2)
solidus was resolved to 1.0.0, which depends on
solidus_core (= 1.0.0) was resolved to 1.0.0, which depends on
rails (~> 4.2.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
并bundle update
没有解决我的问题......我的解决方案已经用完了,并且会感谢一些帮助解决这个问题的人。
谢谢