Sha256: d60bc0fa325a5bf5d0276c6e9e28722bf78e3ff55316033ebded1d009f3a9b93

Contents?: true

Size: 599 Bytes

Versions: 188

Compression:

Stored size: 599 Bytes

Contents

begin
  require File.join(File.dirname(__FILE__), 'lib', 'haml') # From here
rescue LoadError
  begin
    require 'haml' # 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 Haml and Sass.
# Haml may be undefined if we're running gems:install.
Haml.init_rails(binding) if defined?(Haml)

Version data entries

188 entries across 188 versions & 4 rubygems

Version Path
radiant-1.0.0.rc1 vendor/plugins/haml/init.rb
haml-3.0.25 init.rb
radiantcms-couchrest_model-0.1.4 vendor/plugins/haml/init.rb
radiantcms-couchrest_model-0.1.3 vendor/plugins/haml/init.rb
radiantcms-couchrest_model-0.1.2 vendor/plugins/haml/init.rb
radiantcms-couchrest_model-0.1.1 vendor/plugins/haml/init.rb
radiantcms-couchrest_model-0.1 vendor/plugins/haml/init.rb
haml-3.0.24 init.rb
haml-3.0.23 init.rb
haml-3.0.22 init.rb
haml-3.0.21 init.rb
haml-edge-3.1.79 init.rb
haml-edge-3.1.78 init.rb
haml-edge-3.1.77 init.rb
haml-edge-3.1.76 init.rb
haml-edge-3.1.75 init.rb
haml-edge-3.1.74 init.rb
haml-edge-3.1.73 init.rb
haml-edge-3.1.72 init.rb
haml-edge-3.1.71 init.rb