Last active
June 8, 2016 09:53
-
-
Save eric-hu/6047420 to your computer and use it in GitHub Desktop.
Steps to reproduce invalid slim code from fresh Rails/Devise install
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
rails new test_app | |
cd test_app | |
echo "gem 'devise', '~> 3.0.0'" >> Gemfile | |
bundle install | |
rails g devise:views | |
gem install html2slim | |
for file in app/views/devise/**/*.erb; do erb2slim $file ${file%erb}slim; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment