【发布时间】:2016-03-17 06:46:59
【问题描述】:
我正在尝试创建一个 rails spree 应用程序。
我正在关注这个official 链接。
当我执行spree install --auto-accept 时,我收到以下错误。
Bundler 找不到 gem "rails" 的兼容版本: 在快照(Gemfile.lock)中: 导轨 (= 4.2.0)
在 Gemfile 中: 导轨 (= 4.2.0)
spree (~> 3.0.8) was resolved to 3.0.8, which depends on spree_core (= 3.0.8) was resolved to 3.0.8, which depends on rails (~> 4.2.2)运行
bundle update将从头开始重建您的快照,使用 只有 Gemfile 中的 gem,这可能会解决冲突。
然后当我运行bundle update 时,我遇到了错误。
Bundler 找不到 gem "rails" 的兼容版本: 在 Gemfile 中: 导轨(= 4.2.0) spree (~> 3.0.8) 被解析为 3.0.8,这取决于 spree_core (= 3.0.8) 被解析为 3.0.8,这取决于 导轨 (~> 4.2.2)
所以我无法解决这个依赖错误。
请帮忙解决。
【问题讨论】:
标签: ruby-on-rails rubygems spree