omniauth/omniauth-oauth2

Support rails 5

maximveksler opened this issue · 2 comments

Bundler could not find compatible versions for gem "rack":
  In Gemfile:
    rails (~> 5.0.0) was resolved to 5.0.0, which depends on
      railties (= 5.0.0) was resolved to 5.0.0, which depends on
        actionpack (= 5.0.0) was resolved to 5.0.0, which depends on
          rack (~> 2.0)

    omniauth-oauth2 was resolved to 1.4.0, which depends on
      oauth2 (~> 1.0) was resolved to 1.2.0, which depends on
        rack (< 3, >= 1.2)
mltsy commented

That doesn't look like a conflict... It looks like it should be able to use any 2.x version of rack... right? Do you have the rack version locked in Gemfile.lock? Or is there more to that message that got cut off, from other dependencies perhaps?

@mltsy's answer seems spot on.

If you're still having issues, feel free to reopen.