Skip to content
It can help you minify erb templates to reduce transfer time
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.markdown
Rakefile
erb_minifier.gemspec

README.markdown

ERB Minifier

First, add "gem 'erb_minifier', :git => 'https://github.com/jasl/erb_minifier.git'" to your Gemfile, and bundle it.

Second, execute "rails g erb_minifier:install" to generate initializer.

Finally, execute "rake views:precompile" before starting production environment, and it will have effect.

Something went wrong with that request. Please try again.