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

devise:views generator errors when using -e argument #987

Closed
torrick opened this issue Apr 12, 2011 · 1 comment
Closed

devise:views generator errors when using -e argument #987

torrick opened this issue Apr 12, 2011 · 1 comment

Comments

@torrick
Copy link

torrick commented Apr 12, 2011

Running rails g devise:views -e haml produces the following errors:

Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
Required dependency hpricot not found!
Run "gem install hpricot" to get it.
Use --trace for backtrace.
exist app/views/devise
create app/views/devise/confirmations/new.html.haml
create app/views/devise/mailer/confirmation_instructions.html.haml
create app/views/devise/mailer/reset_password_instructions.html.haml
create app/views/devise/mailer/unlock_instructions.html.haml
create app/views/devise/passwords/edit.html.haml
create app/views/devise/passwords/new.html.haml
create app/views/devise/registrations/edit.html.haml
create app/views/devise/registrations/new.html.haml
create app/views/devise/sessions/new.html.haml
create app/views/devise/shared/_links.haml
create app/views/devise/unlocks/new.html.haml

The created haml templates are empty files.

Current workaround is to add hpricot and ruby_parser to the gemfile.

@josevalim
Copy link
Contributor

haml generator has been removed from devise. so this issue is non existent on master. thanks for the report!

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

No branches or pull requests

2 participants