From 0cc81bf38d17b0b1411712694453288cd3152616 Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 28 Oct 2013 23:27:02 -0600 Subject: [PATCH] Attempt #5 --- Gemfile | 2 +- config/environments/production.rb | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 87acb2d..3c85d7d 100644 --- a/Gemfile +++ b/Gemfile @@ -43,7 +43,7 @@ gem 'compass-rails', '~> 2.0.alpha.0' gem 'zurb-foundation' gem 'turbolinks' gem 'uglifier', '>= 1.3.0' -gem 'rails_12factor', group: :production +//gem 'rails_12factor', group: :production group :development, :test do gem 'debugger' diff --git a/config/environments/production.rb b/config/environments/production.rb index 62b5f0c..d57694f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -36,7 +36,7 @@ Starterapp::Application.configure do config.assets.version = '1.0' # Specifies the header that your server uses for sending files. - config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache + # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. @@ -45,9 +45,7 @@ Starterapp::Application.configure do # Set to :debug to see everything in the log. config.log_level = :info - config.assets.initialize_on_precompile = false - - config.cache_classes = true + config.cache_classes = true config.serve_static_assets = true config.assets.compile = true config.assets.digest = true