Sha256: aae1518737e1fa28fe4e4ac49514a22f37d0f52b7a4405134c2ddb62fccb81f1

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

susy_stylesheets_path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'sass'))
begin
  require 'compass'
  Compass::Frameworks.register('susy', :stylesheets_directory => susy_stylesheets_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.0.0.rc.1 lib/susy.rb
susy-2.0.0.beta.3 lib/susy.rb
susy-2.0.0.beta.2 lib/susy.rb
susy-2.0.0.beta.1 lib/susy.rb