【发布时间】:2018-05-06 03:10:57
【问题描述】:
运行捆绑安装命令时出错。 Ruby 版本是 2.2.0,Rails 版本是 4.1.8。环境是 Apple Mac OS Sierra (10.12.5)
Bundler could not find compatible versions for gem "activerecord":
在 Gemfile 中: Composite_primary_keys (= 7.0.15) 被解析为 7.0.15,这取决于 主动记录 (~> 4.1.7)
rails (= 4.2.4) was resolved to 4.2.4, which depends on
activerecord (= 4.2.4)
Bundler 找不到 gem "rack" 的兼容版本: 在 Gemfile 中: 机架 (~> 1.5.3)
omniauth was resolved to 1.7.1, which depends on
rack (< 3, >= 1.6.2)
Bundler 找不到 gem "rails" 的兼容版本: 在 Gemfile 中: 导轨 (= 4.2.4)
commands was resolved to 0.2.1, which depends on
rails (>= 3.2.0)
model_tree was resolved to 1.0, which depends on
rails
【问题讨论】:
标签: ruby-on-rails ruby bundler