Created
February 4, 2013 18:26
-
-
Save DCarper/4708533 to your computer and use it in GitHub Desktop.
Why does Rails default to breaking your application?
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
YourApp::Application.configure do | |
# Settings specified here will take precedence over those in config/application.rb | |
# ... | |
# Disable Rails's static asset server (Apache or nginx will already do this) | |
config.serve_static_assets = false | |
# Compress JavaScripts and CSS | |
config.assets.compress = true | |
# Don't fallback to assets pipeline if a precompiled asset is missed | |
config.assets.compile = false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment