【发布时间】:2019-08-03 17:03:41
【问题描述】:
我在bundle upgradeing 一些宝石,遇到一些我觉得奇怪的错误:
Bundler could not find compatible versions for gem "tzinfo":
In Gemfile:
rails (= 5.2.3) was resolved to 5.2.3, which depends on
activesupport (= 5.2.3) was resolved to 5.2.3, which depends on
tzinfo (~> 1.1)
tzinfo-data was resolved to 1.2019.2, which depends on
tzinfo (>= 1.0.0)
tzinfo 1.1 不能满足这个要求吗? >= 1.0.0 不只是 tzinfo (~> 1.1) 的一个子集吗?
Bundler could not find compatible versions for gem "mongo":
In Gemfile:
mongo (~> 2.4.1)
mongoid (~> 6.0) was resolved to 6.2.1, which depends on
mongo (< 3.0.0, >= 2.4.1)
为什么 mongo 2.4.1 不能满足这些要求?
【问题讨论】:
-
根据您显示的信息,这两个依赖项都应该是可解析的。如果仍然失败,请编辑您的问题并添加您的
Gemfile,以及完整的bundle upgrade输出。可能缺少一些东西。
标签: ruby mongoid bundler tzinfo