通过Bundler解决ruby依赖关系

时间:2017-11-18 16:00:20

标签: ruby-on-rails ruby bundler

我正在尝试更新到rails 5,并且遇到了一些依赖性问题。 Bundler给了我一些看起来像的输出:

Bundler could not find compatible versions for gem “faraday”:
  In Gemfile:
    my_gem was resolved to 1.4.3, which depends on
      faraday (~> 0.9.0)

my_gem was resolved to 1.4.3, which depends on
  faraday-http-cache (~> 0.4.2) was resolved to 0.4.2, which depends on
    faraday (~> 0.8)

my_gem was resolved to 1.4.3, which depends on
  faraday_middleware (~> 0.9.1) was resolved to 0.9.2, which depends on
    faraday (< 0.10, >= 0.7.4)

如果我正确地阅读此内容,我们需要一个版本的法拉第:

>= 0.9.0, < 0.10
>= 0.8, < 1.0
>= 0.7.4, < 0.10

在我看来,任何0.9.x版本的法拉第都应该足够了,包括0.9.0?

我必须错过对这里发生的事情的一些基本理解。任何帮助深表感谢。

0 个答案:

没有答案