From a21bda5ac99d186dce492e3291990d0761359919 Mon Sep 17 00:00:00 2001 From: Nihad Abbasov Date: Fri, 22 Jun 2012 03:09:36 -0700 Subject: [PATCH] load assets group to allow lazy compilation in production --- config/application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/application.rb b/config/application.rb index 7bd5703b31a..dc6b734f0fa 100644 --- a/config/application.rb +++ b/config/application.rb @@ -4,9 +4,9 @@ require 'rails/all' if defined?(Bundler) # If you precompile assets before deploying to production, use this line - Bundler.require *Rails.groups(:assets => %w(development test)) + # Bundler.require *Rails.groups(:assets => %w(development test)) # If you want your assets lazily compiled in production, use this line - # Bundler.require(:default, :assets, Rails.env) + Bundler.require(:default, :assets, Rails.env) end module Gitlab