ouvrages / guard-haml-coffee

Compiles HamlCoffee templates to javascript
MIT License
3 stars 10 forks source link

guard init haml-coffee searches wrong location for template #3

Open julio73 opened 10 years ago

julio73 commented 10 years ago

I tried initializing the Guardfile template with this command: bundle exec guard init haml-coffee

But an error occurs with current guard (ver 2.5.1). Guard's template initializer looks up the template directory using the downcased non-namespaced class name. So it uses HamlCoffee turned to hamlcoffee instead of using haml-coffee.

Relative to gem directory, this is where it tries to find the Guardfile template: guard-haml-coffee-0.2.0/lib/guard/hamlcoffee/templates/Guardfile instead of: guard-haml-coffee-0.2.0/lib/guard/haml-coffee/templates/Guardfile

julio73 commented 10 years ago

@sigmike Is this a dying gem?