API Google (ruby), вызывающий ошибки конфликта драгоценных камней

Я получаю следующую ошибку при попытке запустить сценарий огурца:

Unable to activate google-api-client-0.9.12, because httpclient-2.6.0.1 conflicts with httpclient (~> 2.7) (Gem::ConflictError)

У меня есть три версии httpclient:

httpclient (2.8.2.2, 2.6.0.1, 2.3.4.1)

У всех есть другие зависимости, я пробовал удалять отдельные версии. например

You have requested to uninstall the gem:
    httpclient-2.6.0.1

rally_api-1.2.1 depends on httpclient (= 2.6.0.1)
If you remove this gem, these dependencies will not be met.

You have requested to uninstall the gem:
    httpclient-2.3.4.1

calabash-android-0.4.21 depends on httpclient (~> 2.3.2)
calabash-cucumber-0.9.169 depends on httpclient (~> 2.3.3)
If you remove this gem, these dependencies will not be met.

You have requested to uninstall the gem:
    httpclient-2.8.2.2

google-api-client-0.9.12 depends on httpclient (~> 2.7)
If you remove this gem, these dependencies will not be met.

Как я могу заставить Google API работать с моим существующим кодом?


person R. Leverette    schedule 23.08.2016    source источник
comment
Не похоже, что вы используете бандлер. Я предлагаю написать Gemfile, который включает в себя все необходимые вам гемы (без несущественных спецификаций версий) и посмотреть, сможет ли упаковщик найти набор взаимосовместимых версий.   -  person Dave Schweisguth    schedule 24.08.2016
comment
Это самое близкое, что я мог найти: stackoverflow .com/questions/4579465/ Еще немного покопался в моих зависимостях, и оказалось, что на самом деле я не использую старые версии и смог их удалить.   -  person R. Leverette    schedule 24.08.2016