Sha256: 4ceed5569464420c9fc36c65f881c53e7b41a2911a1713a780d1466e7aefc62b
Contents?: true
Size: 621 Bytes
Versions: 4
Compression:
Stored size: 621 Bytes
Contents
base_directory = File.expand_path(File.join(File.dirname(__FILE__), '..')) susy_stylesheets_path = File.join(base_directory, 'sass') susy_templates_path = File.join(base_directory, 'templates') begin require 'compass' Compass::Frameworks.register('susy', :stylesheets_directory => susy_stylesheets_path, :templates_directory => susy_templates_path) rescue LoadError # compass not found, register on the Sass path via the environment. if ENV.has_key?("SASS_PATH") ENV["SASS_PATH"] = ENV["SASS_PATH"] + File::PATH_SEPARATOR + susy_stylesheets_path else ENV["SASS_PATH"] = susy_stylesheets_path end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
susy-2.1.1 | lib/susy.rb |
susy-2.1.0 | lib/susy.rb |
susy-2.0.0 | lib/susy.rb |
susy-2.0.0.rc.2 | lib/susy.rb |