The change in assets.rb should be enough, but it doesn't work, because sprockets `after_initialize` runs before it and initializes sprockets with unfiltered paths. But the trick with the underscore works, because bootstrap-sass has named the file `_bootstrap.scss`, and rails-assets-bootstrap has `bootstrap.scss`, so with `_bootstrap` it uses the correct bootstrap.
8 lines
257 B
SCSS
8 lines
257 B
SCSS
// Calling this file bootstrap would cause an infinite recursion during asset compilation.
|
|
@import "bootstrap-sprockets";
|
|
@import "bootstrap-variables"; //our overwrites of bootstrap variables
|
|
@import "_bootstrap";
|
|
|
|
// Plugins
|
|
|
|
@import "bootstrap3-switch";
|