Sha256: c3150df395ec2cab12ede7840ff0928afd63506e5d7a8bde0e76e2dcc7565b1e

Contents?: true

Size: 517 Bytes

Versions: 3

Compression:

Stored size: 517 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
    $stderr.puts "Compass could not access the rails environment."
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
compass-0.12.alpha.1 lib/compass/app_integration/rails/runtime.rb
compass-0.12.alpha.0 lib/compass/app_integration/rails/runtime.rb
compass-rails31-0.12.0.alpha.0.91a748a lib/compass/app_integration/rails/runtime.rb