We've moved discussions to Discord

Deploying to Heroku fails: [remote rejected] main -> main (pre-receive hook declined)

I'm running into a problem when deploying my Jumpstart/rails app. I get the following:
[remote rejected] main -> main (pre-receive hook declined)
Unfortunately, they don't seem to provide any obvious reasons. Any ideas??
Looks like there's an issue with Devise hardcoding omniauth version forcing Heroku to throw the error. It's a known issue at Devise: https://github.com/heartcombo/devise/pull/5330

I'm just still not sure how to resolve on my end.
Ramzi Laifa
Hi there,

Do you run a CI ?
I went ahead and changed the gemfile to revert back to omniauth 1.9, which solved the problem. Basically, Devise does not yet support Omniauth 2.0, but Jumpstart is configured to always grab the most recent version omniauth, so I inadvertently landed on 2.0. (Just an FYI Chris Oliver
Notifications
You’re not receiving notifications from this thread.