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


1 answer


html2haml

was transferred from a gem haml

to its own stone.

You can learn more about this here:



https://github.com/haml/html2haml

+6


source







All Articles