这里有什么问题? 6.1.0.alpha大于5.2,所以我不知道为什么我的捆绑包/构建在travis ci上失败。
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
rails was resolved to 6.1.0.alpha, which depends on
activemodel (= 6.1.0.alpha)
web-console was resolved to 3.7.0, which depends on
activemodel (>= 5.2)发布于 2019-04-25 17:37:18
你可以这样检查它:
Gem::Version.new('6.1.0.alpha') >= Gem::Version.new('5.2') # => true
Gem::Requirement.new(">= 5.2").satisfied_by?(Gem::Version.new('6.1.0.alpha')) # => trueBundler倾向于输出它无法匹配的gem的所有版本要求,即使是那些满足的gem,很可能还有另一个gem具有不匹配的要求。
https://stackoverflow.com/questions/55838643
复制相似问题