Doesn't include vendor/GEM/lib/assets/stylesheets in Rails projects
technicool opened this issue · 3 comments
In RE to Zach's comment In reference to http://stackoverflow.com/questions/11161595/can-the-sass-minifier-remove-duplicate-styles/16020605?noredirect=1#comment22896233_16020605
Including csscss in the development profile of a Gemfile, along with something like the bootstrap-sass gem, the following include doesn't pick up the Bootstrap sass files:
@include "bootstrap/variables";
Gives the following error
test.css.scss:6: File to import not found or unreadable: bootstrap/variables. (Sass::SyntaxError)
Load path: testproject/app/assets/stylesheets/
from testproject/vendor/ruby/1.9.1/gems/sass-3.2.5/lib/sass/tree/import_node.rb:67:in `rescue in import'
@technicool You mentioned that you have to monkey patch something. What were you monkeypatching? Would #54 help you out by bootstrapping whatever you're doing?
Oh, and can you share the monkeypatch too?
@technicool v1.3.0 now has a --require
flag that might clean up that monkey patching business. Give that a shot and let me know how it works out.