diff --git a/config/initializers/shut_up_sass.rb b/config/initializers/shut_up_sass.rb new file mode 100644 index 00000000..bd41fc05 --- /dev/null +++ b/config/initializers/shut_up_sass.rb @@ -0,0 +1,15 @@ +module Sass + module Rails + # Shut up extra warning calls from sass + class SassImporter < Sass::Importers::Filesystem + def marshal_dump + # Return some kind of unique fingerprint to Sass + @_marshal_id ||= object_id.to_s(16) + end + + def marshal_load(*_args) + # Do nothing, we don't actually care if this is Marshalable + end + end + end +end