From 0a38035c4a9435b9e99ce93bf67b346bb03b1c16 Mon Sep 17 00:00:00 2001 From: Curt Howard Date: Mon, 10 Jul 2017 11:56:11 -0400 Subject: [PATCH] Fix NameError: uninitialized constant Sass::Deprecation error Due to a change in `v3.4.25` of the `sass` gem, this project began throwing an unitialized constant NameError. Explicitly requiring `sass/deprecation` solves the issue. Resolves #69 --- lib/sassc/script.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sassc/script.rb b/lib/sassc/script.rb index 972ee3d9..b3eba8f1 100644 --- a/lib/sassc/script.rb +++ b/lib/sassc/script.rb @@ -28,6 +28,7 @@ module Script end require 'sass/util' +require 'sass/deprecation' require 'sass/script/value/base' require 'sass/script/value/string' require 'sass/script/value/color' @@ -40,4 +41,4 @@ module Script SassC::Script::Value::Color = Sass::Script::Value::Color SassC::Script::Bool = Sass::Script::Value::Bool -SassC::Script::Value::Bool = Sass::Script::Value::Bool \ No newline at end of file +SassC::Script::Value::Bool = Sass::Script::Value::Bool