I need to convert the html.slim files in my Ruby on Rails application to html.erb. Is there any easy way to do it? I tried many options listed in Stack Overflow and other si
You can!
First, make sure you have already installed slim-rails. You can install it by calling gem install slim-rails.
Then write something in the input.html
Finally, you open the terminal and call:
echo `slimrb input.html` > output.html
NOTE: it is `, not ' or "
Open file output.html, that's what you looking for!