devise_token_auth: Could not load 'omniauth'

I am using the basic gem installation, but I am getting this error in rake db:migrate

Could not load 'omniauth'. Please ensure you have the omniauth gem >= 1.0.0 installed and listed in your Gemfile. rake aborted!`

I am not using omniauth.

Versions: gem 'rails', 4.2.0' gem 'devise_token_auth', '~> 0.1.30'

Thanks

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 24 (5 by maintainers)

Most upvoted comments

I had a similar error, but with rails:routes. I got it to go away by removing the :omniauthable decoration from my User Class.

Same issue here. using 0.1.40. @booleanbetrayal shouldn’t this issue be reopened since it is happening in the latest release?

Just installed it, same issue. Added omniauth, but not sure I need it?

This should no longer be happening as of 0.0.32. Can re-open as needed.

Please don’t comment here just to say, “same here”, this issue is closed - open a new one if you’re still having an issue. Thanks

Same issue here 😦