"Could not find generator devise_views." #634

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

Comments

Projects
None yet
4 participants

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!

Owner

josevalim commented Nov 8, 2010

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

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.

Collaborator

carlosantoniodasilva commented Nov 8, 2010

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

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!

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