尝试运行黄瓜脚本时出现以下错误:
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与现有代码配合使用?