Bundler 找不到 gem mandrill-api 的 gem“excon”的兼容版本

vit*_*hal 5 bundler fog mandrill excon

我在尝试安装捆绑包时收到此错误。我的宝石集中有 gem excon 的两个版本“0.15.4”和“0.25.1”。我怎样才能解决这个问题?

Bundler could not find compatible versions for gem "excon":
Run Code Online (Sandbox Code Playgroud)

在 Gemfile 中:mandrill-api (>= 0) ruby​​ 依赖于 excon (~> 0.15.4) ruby

fog (~> 1.10.1) ruby depends on
  excon (0.25.1)
Run Code Online (Sandbox Code Playgroud)

小智 0

我删除了 Gemfile.lock,如果这不起作用,请尝试运行gem update excon并检查您安装的版本gem list | grep excon是否正确。