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_views." #634

Closed
swese44 opened this Issue Nov 8, 2010 · 5 comments

Comments

Projects
None yet
4 participants
@swese44
Copy link

swese44 commented Nov 8, 2010

I'm running Ruby 1.9.2 and Rails 3.0.1, with the Devise Gem version 1.1.3. My Gemfile has:
gem 'devise', :git => "http://github.com/plataformatec/devise.git"

I'm following the "Customizing Devise" video on Railscasts.com, but when I enter the command "rails generate devise_views" I get the error:
"Could not find generator devise_views."

Google hasn't turned up anybody else having the same problem. Any ideas? Thanks!

@josevalim

This comment has been minimized.

Copy link
Member

josevalim commented Nov 8, 2010

Use "rails g devise:views" instead. Thanks.

@carlosantoniodasilva

This comment has been minimized.

Copy link
Collaborator

carlosantoniodasilva commented Nov 8, 2010

Have you tried the mailing list? Please use it for questions.
The generator is called devise:views, I guess it might be wrong in the railscast. Just run rails g inside your app folder and you'll see which generators are available.

@carlosantoniodasilva

This comment has been minimized.

Copy link
Collaborator

carlosantoniodasilva commented Nov 8, 2010

Ops, didn't see José answered a minute ago =).

@swese44

This comment has been minimized.

Copy link
Author

swese44 commented Nov 8, 2010

That did the trick. I'll be sure to check the mailing list before opening an Issue in the future. Thanks for the lightning-quick responses!

@robertg9

This comment has been minimized.

Copy link

robertg9 commented Apr 29, 2012

You using older version devise so try
rails g devise_views
also install and other options looks similar

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.