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
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 tohamlcoffee
instead of usinghaml-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