Properly detect minimum rails31 version.

This commit is contained in:
Chris Eppstein 2011-08-28 10:47:09 -07:00
parent 7d743941d1
commit 02f268f1b1

View File

@ -26,7 +26,7 @@ module Compass
def configuration
config = Compass::Configuration::Data.new('rails')
config.extend(ConfigurationDefaults)
config.extend(ConfigurationDefaultsWithAssetPipeline) if Sass::Util.ap_geq?('3.1.0.beta')
config.extend(ConfigurationDefaultsWithAssetPipeline) if Sass::Util.ap_geq?('3.1.0') || Sass::Util.ap_geq?('3.1.0.rc') || Sass::Util.ap_geq?('3.1.0.beta')
config
end