简体   繁体   中英

Bundler could not find compatible versions for gem "activemodel":

Trying to upgrade to rails 5.2.2. Blew away my gem lock file, and then did a 'bundle install' Lot of dependancy errors, but this is the first error and one i really dont understand:

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

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

It looks to me that activemodel 5.2.2 is greater than 5.0 and should satisfy the web-console dependency. What am i missing?

In the end i upgraded form bundler 2.0.2 to 2.1.4. That resolved the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM