# HG changeset patch # User nanaya # Date 1429774247 -32400 # Node ID 3f419d621b066e804ec1951783a385513625b036 # Parent 929218b3b2e266a47305e799c43f6aa38714655e Rename config option. Changed in rails 4.2. diff -r 929218b3b2e2 -r 3f419d621b06 config/environments/production.rb --- a/config/environments/production.rb Thu Apr 23 16:23:36 2015 +0900 +++ b/config/environments/production.rb Thu Apr 23 16:30:47 2015 +0900 @@ -20,7 +20,7 @@ # config.action_dispatch.rack_cache = true # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_assets = false + config.serve_static_files = false # Specifies the header that your server uses for sending files. # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache diff -r 929218b3b2e2 -r 3f419d621b06 config/environments/test.rb --- a/config/environments/test.rb Thu Apr 23 16:23:36 2015 +0900 +++ b/config/environments/test.rb Thu Apr 23 16:30:47 2015 +0900 @@ -13,7 +13,7 @@ config.eager_load = false # Configure static asset server for tests with Cache-Control for performance. - config.serve_static_assets = true + config.serve_static_files = true config.static_cache_control = "public, max-age=3600" # Show full error reports and disable caching.