Last active
December 15, 2015 07:59
-
-
Save samanthamjohn/5227948 to your computer and use it in GitHub Desktop.
Revisions
-
samanthamjohn revised this gist
Mar 23, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ config.assets.compress = false -
samanthamjohn created this gist
Mar 23, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ group :assets do gem 'sass-rails', '~> 4.0.0.beta1' gem 'coffee-rails', '~> 4.0.0.beta1' gem 'sprockets-rails', :require => 'sprockets/railtie' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', platforms: :ruby gem 'uglifier', '>= 1.0.3' end This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # Compress JavaScripts and CSS config.assets.compress = true config.assets.compile = true # Generate digests for assets URLs config.assets.digest = true config.assets.configure do |env| env.js_compressor = :uglify # or :closure, :yui env.css_compressor = :sass # or :yui env.logger = Rails.logger env.cache = ActiveSupport::Cache::FileStore.new("tmp/cache/assets") end