Created
February 8, 2014 07:50
-
-
Save sseletskyy/8878212 to your computer and use it in GitHub Desktop.
how to convert html to slim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>gem install html2slim | |
in case of using .rbenv don't forget to set path in bash_profile | |
>> PATH=${PATH}:~/.rbenv/versions/2.0.0-p353/bin/ | |
>for file in app/views/devise/**/*.erb; do erb2slim $file ${file%erb}slim && rm $file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment