HTML2HAML command not found
I installed gems "haml"
and "haml-rails"
. Now I want to convert the erb files to haml using this command:
find . -name '*erb' | \
xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | \
bash
but it throws this error:
html2haml: command not found
What am I missing?
+3
source to share