Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gems"haml"とをインストールしました"haml-rails"。今、私はそのコマンドで私のerbファイルをhamlに変換したい:
"haml"
"haml-rails"
find . -name '*erb' | \ xargs ruby -e 'ARGV.each { |i| puts "html2haml -r #{i} #{i.sub(/erb$/,"haml")}"}' | \ bash
しかし、それはこのエラーをスローします:
html2haml: コマンドが見つかりません
私は何が欠けていますか?
html2hamlhamlgem から独自の gem に移動されました。
html2haml
haml
詳細については、次を参照してください。
https://github.com/haml/html2haml