Last active
December 12, 2015 03:48
-
-
Save amichal/4709388 to your computer and use it in GitHub Desktop.
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
#asset pipeline on | |
config.assets.enabled = true | |
#dont load the whole damn app and connect to the db to precompile | |
config.assets.initialize_on_precompile = false | |
# turn off compression entirely | |
config.assets.compress = false | |
#OR for css/js explicitly | |
# see http://guides.rubyonrails.org/asset_pipeline.html#using-your-own-compressor | |
class NullCompressor | |
def compress(string) | |
string | |
end | |
end | |
config.assets.css_compressor = NullCompressor.new | |
config.assets.js_compressor = NullCompressor.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment