gem 由于 nori 导致依赖冲突

gem dependency conflict because of nori

如何解决此类错误

In Gemfile:
    appdirect (>= 0) ruby depends on
      nori (~> 2.4) ruby

    google-adwords-api (>= 0) ruby depends on
      google-ads-common (~> 0.9.8) ruby depends on
        savon (~> 1.2.0) ruby depends on
          nori (1.1.5)

请告知。我尝试更新 google-adword-api gem 但它不起作用。

不幸的是,google-ads-common gem 是 sticked 旧版本的 savon,gem 作者是这样说的:

Savon 2 does not support the complex AdWords API wsdls. I would love to upgrade and put this to rest, but it isn't feasible at the moment. We are looking into alternatives.

在这种悲伤的情况下,你需要在相互冲突的 gem 之间做出选择,你不能同时拥有两者。

我编辑了 appdirect 以使用兼容版本的 nori。 这是 link 到 gem

https://github.com/aditya01933/appdirect