From e6faba1b8f37b9949baf12bc10d1b3fb0e163fe9 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 15 Apr 2015 03:13:03 -0700 Subject: only include uglifier gem in production mode (to compile assets) --- Gemfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 931bb8d..9d18704 100644 --- a/Gemfile +++ b/Gemfile @@ -38,11 +38,15 @@ gem "bootstrap-sass", "= 2.3.2.2" # The last 2.x version. Bootstrap-sass version # with Bootstrap v3. When upgrading to Rails 4, see # https://github.com/twbs/bootstrap-sass gem "sass-rails", "~> 3.2.5" # Only version supported by bootstrap-sass 2.3.2.2 -gem "uglifier", "~> 1.2.7" # javascript compression https://github.com/lautis/uglifier gem 'quiet_assets' # stops logging all the asset requests -gem 'therubyracer', "~> 0.10.2", :platforms => :ruby -# ^^ See https://github.com/sstephenson/execjs#readme -# for list of supported runtimes. +group :production do + gem "uglifier", "~> 1.2.7" # javascript compression https://github.com/lautis/uglifier + # this must not be included in development mode, or js + # will get included twice. + gem 'therubyracer', "~> 0.10.2", :platforms => :ruby + # ^^ See https://github.com/sstephenson/execjs#readme + # for list of supported runtimes. +end ## MISC gem 'certificate_authority', # unreleased so far ... but leap_web_certs need it -- cgit v1.2.3