diff --git a/Gemfile b/Gemfile index 398b3ff..3e64e67 100644 --- a/Gemfile +++ b/Gemfile @@ -37,14 +37,13 @@ gem 'haml_assets' # gem 'handlebars_assets' gem 'i18n-js' gem 'jquery-turbolinks' -# gem 'less-rails' gem 'sass-rails', '~> 4.0.0' gem 'therubyracer' gem 'compass-rails', '~> 2.0.alpha.0' gem 'zurb-foundation' gem 'turbolinks' -# gem 'twitter-bootstrap-rails', github: 'diowa/twitter-bootstrap-rails', branch: 'fontawesome-3.2.1' gem 'uglifier', '>= 1.3.0' +gem 'rails_12factor', group: :production group :development, :test do gem 'debugger' diff --git a/config/environments/production.rb b/config/environments/production.rb index bb17c62..d307b1c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -27,7 +27,7 @@ Starterapp::Application.configure do # config.assets.css_compressor = :sass # Do not fallback to assets pipeline if a precompiled asset is missed. - config.assets.compile = false + config.assets.compile = true # Generate digests for assets URLs. config.assets.digest = true @@ -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.