How to solve this dependency problem.
I`m using sorcery to administration and I dont need oauth2(0.4.1).
Bundler could not find compatible versions for gem "oauth2":
In Gemfile:
omniauth-facebook (>= 0) ruby depends on
oauth2 (~> 0.5.0) ruby
sorcery (>= 0) ruby depends on
oauth2 (0.4.1)
This is my Gemfile
gem 'sorcery'
gem 'omniauth-facebook'
gem 'omniauth-google-oauth2'
You should fork the sorcery gem and change this line to be this:
Then make a commit, push it to GitHub and then reference it in your application like this:
For bonus points, submit that patch as a pull request to the original sorcery repository.