Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Rails doesn't recognize the rake task. #1

Closed
josemotanet opened this issue Feb 11, 2011 · 2 comments
Closed

Rails doesn't recognize the rake task. #1

josemotanet opened this issue Feb 11, 2011 · 2 comments

Comments

@josemotanet
Copy link

Hi David, I couldn't use the rake task you've built. The output:

$ rake haml:convert_erbs
(in /home/jose/rails/survay)
rake aborted!
Don't know how to build task 'haml:convert_erbs' 

What should I do to make Rails recognize the task? Thanks.

@dhl
Copy link
Owner

dhl commented Feb 11, 2011

Hi José, I have just packaged the script in a gem. So add the line:

gem 'erb2haml'

to your Gemfile, and don't forget to run bundle install. Be sure to remove old script from your app.

Let me know if you run into other problems.

@josemotanet
Copy link
Author

Worked like a charm. Thanks, David!

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants