Skip to content

Conversation

@jp-ryuji
Copy link
Owner

@jp-ryuji jp-ryuji commented Mar 7, 2018

git checkout -b setup_slim
vi Gemfile
gem 'slim-rails'
bundle
git add .
git commit -m 'Add slim-rails'
gem install html2slim
for file in app/views/**/*.erb; do erb2slim $file ${file%erb}slim && rm $file; done
git add .
git commit -m 'Replace existing erb with slim with html2slim'
git push origin setup_slim

Configuration

@jp-ryuji jp-ryuji merged commit 4f1a305 into master Mar 7, 2018
@jp-ryuji jp-ryuji deleted the setup_slim branch March 7, 2018 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants