无法安装 google-api-客户端 gem 最新版本以及 appnexusapi gem

Unable to install google-api-client gem latest versions along with appnexusapi gem

我有一个应用程序正在使用 Appnexusapigem。现在我需要将 google-api-client gem(>= 0.8.2) 安装到我的应用程序中以连接 google adx api。但是在安装 google-api-client 时,我遇到了 faraday 和 multi_json gems 的依赖问题。任何人都可以为我提供解决这个问题的方法吗?

请找出我遇到的以下错误

 Bundler could not find compatible versions for gem "multi_json":
 In Gemfile:
    appnexusapi (>= 0) ruby depends on
      multi_json (~> 1.0.3) ruby

    google-api-client (= 0.8.2) ruby depends on
      multi_json (1.10.0) 

提前致谢

请appnexusapi的作者更新到更高版本的multi_json。在等待期间,您可以尝试自己进行分叉,更新 gem 规范,然后将您的分叉指定为 gem 源。如果您能够使用最新版本的 multi_json(我看不到任何测试),那么您可以发送拉取请求。