【发布时间】:2017-05-29 22:03:37
【问题描述】:
我正在使用各种omniauth gems,在我添加PayPal后,我在运行bundle或bundle update时收到此错误:
Bundler could not find compatible versions for gem "omniauth-oauth2":
In Gemfile:
omniauth-dribbble (~> 0.0.1) x86-mingw32 was resolved to 0.0.1, which
depends on
omniauth-oauth2 (~> 1.1) x86-mingw32
omniauth-dribbble (~> 0.0.1) x86-mingw32 was resolved to 0.0.1, which
depends on
omniauth-oauth2 (~> 1.1) x86-mingw32
omniauth-facebook (~> 4.0) x86-mingw32 was resolved to 4.0.0, which depends
on
omniauth-oauth2 (~> 1.2) x86-mingw32
omniauth-google-oauth2 (~> 0.4.1) x86-mingw32 was resolved to 0.4.1, which
depends on
omniauth-oauth2 (>= 1.3.1) x86-mingw32
omniauth-paypal (~> 1.2) x86-mingw32 was resolved to 1.2, which depends on
omniauth-oauth2 (~> 1.1.0) x86-mingw32
有没有办法避免这种情况并仍然使用 Omniauth PayPal Gem?
编辑:
PayPal Gem 确实与 Google Omniauth 解决方案发生冲突。我不能同时拥有它们。为什么?
【问题讨论】:
-
可以和下面一样吗? stackoverflow.com/questions/14839972/…
-
我也有这种感觉,但是我查看了依赖项,它们应该都很好......
-
@pschneider - 看看更新后的问题。
标签: ruby-on-rails ruby bundler omniauth ruby-on-rails-5