Give a better error if Sass::Script::Functions.declare does not exist.
Closes GH-365.
This commit is contained in:
parent
8527f5b91f
commit
04a288ae8f
@ -1,3 +1,7 @@
|
||||
unless Sass::Script::Functions.methods.grep(/\Adeclare\Z/).any?
|
||||
raise LoadError, "It looks like you've got an incompatible version of Sass. This often happens when you have an old haml gem installed. Please upgrade Haml to v3.1 or above."
|
||||
end
|
||||
|
||||
module Compass::SassExtensions
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user