Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find generator 'devise_token_auth:install' #768

Closed
ghost opened this issue Nov 13, 2016 · 7 comments
Closed

Could not find generator 'devise_token_auth:install' #768

ghost opened this issue Nov 13, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Nov 13, 2016

rails g devise_token_auth:install User auth
Running via Spring preloader in process 57673
Could not find generator 'devise_token_auth:install'. Maybe you meant 'rspec:install', 'integration_test' or 'test_unit:model'
Run rails generate --help for more options.

I'm having this problem now. Database pg. Adapter postgis.

Using rails 5.0.0.1
Using devise 4.2.0
Using devise_token_auth 0.1.39
Using omniauth 1.3.1

@ghost
Copy link
Author

ghost commented Nov 13, 2016

This issue is resolved by restarting the computer. Closing.

@zachfeldman
Copy link
Contributor

@lukeipanda the mystery of why this wasn't closed shall haunt me

@luispcosta
Copy link

This is currently happening with me:

Using rails 5.1.4
Using devise 4.3.0
Using devise_token_auth 0.1.42
rails g devise_token_auth:install User auth
Running via Spring preloader in process 4008
Could not find generator 'devise_token_auth:install'. Maybe you meant 'devise:install', 'responders:install' or 'devise:controllers'
Run `rails generate --help` for more options.

Can we re-open this?

@zachfeldman
Copy link
Contributor

@luispcosta did you try restarting your computer?

@nearbycoder
Copy link

@luispcosta I was able to resolve this issue by stopping spring. 😄

@samnissen
Copy link

I was also able to do this by stopping and removing spring, which is a pretty high barrier to entry. Perhaps the README should include instructions explaining that you will have to remove spring or restart your computer as a prerequisite to proceeding past bundle install?

@zachfeldman
Copy link
Contributor

@samnissen how about a patch that makes this lib play nice with spring :)? We'd also take a PR to the README if you have limited time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants