From 7fac6e870c3ace803a4123b33420e399fde88aae Mon Sep 17 00:00:00 2001 From: echarp Date: Wed, 25 Jun 2014 00:32:52 +0200 Subject: [PATCH] Essai pour compiler automatiquement en production les assets --- .gitignore | 2 ++ config/environments/production.rb | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 00f68918..e5d4f7df 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,5 @@ tags # session secret config/initializers/secret_token.rb + +public/assets diff --git a/config/environments/production.rb b/config/environments/production.rb index 47d3553b..ed17b14c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -27,7 +27,8 @@ Rails.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 = false + config.assets.compile = true # Generate digests for assets URLs. config.assets.digest = true