lib/styler.rb in styler-sass-0.1.4 vs lib/styler.rb in styler-sass-0.1.5.alpha
- old
+ new
@@ -1,11 +1,9 @@
dir = File.dirname(__FILE__)
$LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir)
-
require "styler/generator"
-
unless defined?(Sass)
require 'sass'
end
@@ -21,11 +19,9 @@
load "tasks/install.rake"
end
end
end
else
- bourbon_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
- ENV["SASS_PATH"] = [ENV["SASS_PATH"], bourbon_path].compact.join(File::PATH_SEPARATOR)
+ styler_path = File.expand_path("../../app/assets/stylesheets", __FILE__)
+ ENV["SASS_PATH"] = [ENV["SASS_PATH"], styler_path].compact.join(File::PATH_SEPARATOR)
end
-
-
end