传递性宝石无法正确解析

时间:2018-11-29 16:02:43

标签: ruby rubygems

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

    web-console (~> 3.7.0) was resolved to 3.7.0, which depends on
      activemodel (>= 5.0)

activemodel的可传递web-console是否应解析为5.1.6.1?也许我对如何解决这些宝石感到困惑。

无论这些应该兼容。

整个消息:

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

    web-console (~> 3.7.0) was resolved to 3.7.0, which depends on
      activemodel (>= 5.0)

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    coffee-rails was resolved to 4.1.1, which depends on
      railties (< 5.1.x, >= 4.0.0)

    jquery-rails was resolved to 4.3.1, which depends on
      railties (>= 4.2.0)

    rails (= 5.1.6.1) was resolved to 5.1.6.1, which depends on
      railties (= 5.1.6.1)

    sass-rails (~> 5.0) was resolved to 5.0.6, which depends on
      railties (< 6, >= 4.0.0)

    web-console (~> 3.7.0) was resolved to 3.7.0, which depends on
      railties (>= 5.0)

0 个答案:

没有答案