首页 > 解决方案 > Bundler 找不到兼容的版本 - 没有矛盾

问题描述

我正在尝试bundle update一些宝石并从捆绑器(版本 1.16.2)中返回(除其他外)以下错误:

Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    rails (~> 4.0.13) was resolved to 4.0.13, which depends on
      activerecord (= 4.0.13) was resolved to 4.0.13, which depends on
        activemodel (= 4.0.13)

    draper (~> 1.0) was resolved to 1.4.0, which depends on
      activemodel (>= 3.0)

    simple_form (~> 3.1.1) was resolved to 3.1.1, which depends on
      activemodel (~> 4.0)

我根本看不出这些要求有任何矛盾!

为什么 Bundler 不只使用activemodelversion 4.0.13

标签: ruby-on-railsbundler

解决方案


推荐阅读