Browse Source

Turning off config.assets.initialize_on_precompile

development
Godwin 11 years ago
parent
commit
86d92b7559
  1. 5
      app/assets/javascripts/bootstrap.js.coffee
  2. 27
      app/assets/stylesheets/bootstrap_and_overrides.css.scss
  3. 13
      app/assets/stylesheets/stubs/variables_overrides.css.scss
  4. 2
      config/environments/production.rb

5
app/assets/javascripts/bootstrap.js.coffee

@ -1,5 +0,0 @@
'use strict'
# jQuery Turbolinks
$ ->
$('[rel~="tooltip"]').tooltip()

27
app/assets/stylesheets/bootstrap_and_overrides.css.scss

@ -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

13
app/assets/stylesheets/stubs/variables_overrides.css.scss

@ -1,13 +0,0 @@
// @import "twitter/bootstrap/variables";
/* ==========================================================================
Variables and overrides
========================================================================== */
/* New variables
========================================================================== */
/* Bootstrap variables override
========================================================================== */
$sansFontFamily: "Ubuntu", "Helvetica Neue", Helvetica, Arial, sans-serif;

2
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 ]

Loading…
Cancel
Save