All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gem.gems.haml-3.1.1.vendor.sass.init.rb Maven / Gradle / Ivy

There is a newer version: 1.263
Show newest version
begin
  require File.join(File.dirname(__FILE__), 'lib', 'sass') # From here
rescue LoadError
  begin
    require 'sass' # From gem
  rescue LoadError => e
    # gems:install may be run to install Haml with the skeleton plugin
    # but not the gem itself installed.
    # Don't die if this is the case.
    raise e unless defined?(Rake) &&
      (Rake.application.top_level_tasks.include?('gems') ||
        Rake.application.top_level_tasks.include?('gems:install'))
  end
end

# Load Sass.
# Sass may be undefined if we're running gems:install.
require 'sass/plugin' if defined?(Sass)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy