捆绑程序找不到链轮的兼容版本

时间:2019-06-19 08:09:02

标签: ruby-on-rails bundler sprockets

我正在将Rails 4.2应用程序更新为5.1,但是遇到了我不理解的依赖性问题,如下所示:

Bundler could not find compatible versions for gem "sprockets":
  In Gemfile:
    sprockets (= 3.3.4)

    sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
      sprockets (>= 2.8, < 4.0)

    rails (= 5.1.1) was resolved to 5.1.1, which depends on
      sprockets-rails (>= 2.0.0) was resolved to 3.2.1, which depends on
        sprockets (>= 3.0.0)

对我来说3.3.4

  • > = 2.8
  • <4.0
  • > = 3.0.0

0 个答案:

没有答案