正在尝试升级到Rails 5.2.2。吹走我的宝石锁文件,然后做了“捆绑安装”很多依赖错误,但这是第一个错误,我真的不明白:
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)
在我看来,activemodel 5.2.2大于5.0,并且应该满足Web控制台依赖性。我想念什么?
最后,我将装箱机2.0.2升级到了2.1.4。那解决了问题。