isaacsanders / omniauth-stripe-connect

Stripe Connect OAuth2 Strategy for OmniAuth 1.0
MIT License
130 stars 75 forks source link

Bundler could not find compatible versions for gem "faraday" #54

Open erinburns opened 6 years ago

erinburns commented 6 years ago

Hello,

I am adding Stripe Connect to my app. I added gem 'omniauth-stripe-connect', '~> 2.10.0' to my Gemfile. When I run bundle install I get this:

Bundler could not find compatible versions for gem "faraday": In snapshot (Gemfile.lock): faraday (= 0.15.3)

In Gemfile: omniauth-stripe-connect (~> 2.10.0) was resolved to 2.10.1, which depends on omniauth-oauth2 (~> 1.4) was resolved to 1.4.0, which depends on oauth2 (~> 1.0) was resolved to 1.2.0, which depends on faraday (< 0.10, >= 0.8)

stripe (~> 3.0.0) was resolved to 3.0.3, which depends on faraday (~> 0.9)

Running bundle update will rebuild your snapshot from scratch, using only the gems in your Gemfile, which may resolve the conflict.

Please see my Stackoverflow question here: https://stackoverflow.com/questions/52681982/faraday-gem-preventing-omniauth-stripe-connect-from-installing

Could you advise on how to resolve this?

wilpar commented 5 years ago

I think you need Stripe gem V4.

from my gemfile.lock:

stripe (4.9.0) faraday (~> 0.13) net-http-persistent (~> 3.0)

isaacsanders commented 4 years ago

Let me know if anything else needs to change @wilpar @erinburns