Created
April 18, 2014 15:28
-
-
Save averyvery/11049981 to your computer and use it in GitHub Desktop.
Testing Rails precompilation in development environment
This file contains hidden or 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
# just add these lines to development.rb | |
config.assets.debug = false | |
config.serve_static_assets = true | |
config.assets.js_compressor = :uglifier | |
config.assets.digest = true | |
# then on the command line | |
rake assets:precompile && rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment