wycats/rake-pipeline-web-filters — Issue #4: compass is required even if not using SassCompiler
Author: jamesarosen
Created: 2011-12-17 03:24:36+00:00
State: open

`lib/rake-pipeline-web-filters.rb` does a `require "rake-pipeline-web-filters/sass_compiler"` and that in turn does a `require "compass"`. Thus, simply requiring the library requires Compass, even if the user isn't using the SassCompiler at all. Some options:

1. force the user to require each filter individually
1. use `autoload`
1. move the `require "compass"` into the intitializer and raise a meaningful error if it's unavailable

(1) is frustrating. (2) feels icky. How would (3) work in multi-threaded environments?