From 86d92b755936a02451cd207554ef7b553110d43e Mon Sep 17 00:00:00 2001 From: Godwin Date: Mon, 28 Oct 2013 23:22:19 -0600 Subject: [PATCH] Turning off config.assets.initialize_on_precompile --- app/assets/javascripts/bootstrap.js.coffee | 5 ---- .../bootstrap_and_overrides.css.scss | 27 ------------------- .../stubs/variables_overrides.css.scss | 13 --------- config/environments/production.rb | 2 ++ 4 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 app/assets/javascripts/bootstrap.js.coffee delete mode 100644 app/assets/stylesheets/bootstrap_and_overrides.css.scss delete mode 100644 app/assets/stylesheets/stubs/variables_overrides.css.scss diff --git a/app/assets/javascripts/bootstrap.js.coffee b/app/assets/javascripts/bootstrap.js.coffee deleted file mode 100644 index e36c1f1..0000000 --- a/app/assets/javascripts/bootstrap.js.coffee +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -# jQuery Turbolinks -$ -> - $('[rel~="tooltip"]').tooltip() diff --git a/app/assets/stylesheets/bootstrap_and_overrides.css.scss b/app/assets/stylesheets/bootstrap_and_overrides.css.scss deleted file mode 100644 index 10c5dd9..0000000 --- a/app/assets/stylesheets/bootstrap_and_overrides.css.scss +++ /dev/null @@ -1,27 +0,0 @@ -//@import "twitter/bootstrap/bootstrap"; - -body { - /*padding-top: $navbarHeight + 10px;*/ - background-color: #BBB; -} - -//@import "twitter/bootstrap/responsive"; - -// Set the correct sprite paths -//@iconSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings"); -//@iconWhiteSpritePath: asset-path("twitter/bootstrap/glyphicons-halflings-white"); - -// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines) -//@fontAwesomeEotPath: asset-url("fontawesome-webfont.eot"); -//@fontAwesomeEotPath_iefix: asset-url("fontawesome-webfont.eot?#iefix"); -//@fontAwesomeWoffPath: asset-url("fontawesome-webfont.woff"); -//@fontAwesomeTtfPath: asset-url("fontawesome-webfont.ttf"); -//@fontAwesomeSvgPath: asset-url("fontawesome-webfont.svg#fontawesomeregular"); - -// Font Awesome -//@import "fontawesome/font-awesome"; - -// Glyphicons -//@import "twitter/bootstrap/sprites.less"; - -// Override the default bootstrap variables in stubs/variables_overrides.css.less diff --git a/app/assets/stylesheets/stubs/variables_overrides.css.scss b/app/assets/stylesheets/stubs/variables_overrides.css.scss deleted file mode 100644 index e45eb13..0000000 --- a/app/assets/stylesheets/stubs/variables_overrides.css.scss +++ /dev/null @@ -1,13 +0,0 @@ -// @import "twitter/bootstrap/variables"; - -/* ========================================================================== - Variables and overrides - ========================================================================== */ - -/* New variables - ========================================================================== */ - -/* Bootstrap variables override - ========================================================================== */ - -$sansFontFamily: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif; diff --git a/config/environments/production.rb b/config/environments/production.rb index d307b1c..c15091e 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -45,6 +45,8 @@ Starterapp::Application.configure do # Set to :debug to see everything in the log. config.log_level = :info + config.assets.initialize_on_precompile = false + # Prepend all log lines with the following tags. # config.log_tags = [ :subdomain, :uuid ]