Sha256: d90f63fcbbcf0bdc76d220dca816f8a0a7701e9832ee041320b136431206e222

Contents?: true

Size: 527 Bytes

Versions: 3

Compression:

Stored size: 527 Bytes

Contents

unless defined?(Compass::RAILS_LOADED)
  Compass::RAILS_LOADED = true
  begin
    require 'action_pack/version'
    if ActionPack::VERSION::MAJOR >= 3
      if ActionPack::VERSION::MINOR < 1
        require 'compass/app_integration/rails/actionpack30'
      else
        require 'compass/app_integration/rails/actionpack31'
      end
    else
      require 'compass/app_integration/rails/actionpack2x'
    end
  rescue LoadError, NameError => e
    $stderr.puts "Compass could not access the rails environment: #{e}"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
compass-0.12.alpha.4 lib/compass/app_integration/rails/runtime.rb
compass-0.12.alpha.3 lib/compass/app_integration/rails/runtime.rb
compass-0.12.alpha.2 lib/compass/app_integration/rails/runtime.rb