开发者

Resolve a dependency issue

开发者 https://www.devze.com 2023-03-11 19:01 出处:网络
I have the following dependency issue: Bundler could not find compatible versions for开发者_如何学JAVA gem \"activesupport\":

I have the following dependency issue:

   Bundler could not find compatible versions for开发者_如何学JAVA gem "activesupport":
  In Gemfile:
    active_support depends on
      activesupport (= 3.0.0)

    activerecord (= 3.0.6) depends on
      activesupport (3.0.6)

I need both active_support and activerecord. Any suggestions?


Check the versions of the stuff in your Gemfile. It sounds like active_support has been locked at 3.0.0 manually for some reason. Either it was done directly, or some of your other gems has a "hard" dependency on ActiveSupport 3.0.0

The first case is easy to fix, just use ActiveSupport 3.0.6 instead. The second can be probably be fixed by finding out which gem is the problem and updating it.

0

精彩评论

暂无评论...
验证码 换一张
取 消