railtie.rb 300 B

123456789
  1. # Rails 3.0.0.beta.2+, < 3.1
  2. if defined?(ActiveSupport) && Sass::Util.has?(:public_method, ActiveSupport, :on_load) &&
  3. !Sass::Util.ap_geq?('3.1.0.beta')
  4. require 'sass/plugin/configuration'
  5. ActiveSupport.on_load(:before_configuration) do
  6. require 'sass'
  7. require 'sass/plugin'
  8. end
  9. end