diff --git a/lib/compass/app_integration/rails/installer.rb b/lib/compass/app_integration/rails/installer.rb
index 536d6975..e4f3db92 100644
--- a/lib/compass/app_integration/rails/installer.rb
+++ b/lib/compass/app_integration/rails/installer.rb
@@ -163,7 +163,7 @@ NEXTSTEPS
manifest.each_stylesheet do |stylesheet|
# Skip partials.
next if File.basename(stylesheet.from)[0..0] == "_"
- ss_line = "<%= stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'"
+ ss_line = "<%= stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.s[ac]ss$/,'.css')}'"
if stylesheet.options[:media]
ss_line += ", :media => '#{stylesheet.options[:media]}'"
end
diff --git a/lib/compass/installers/manifest_installer.rb b/lib/compass/installers/manifest_installer.rb
index 04e1d909..48a10705 100644
--- a/lib/compass/installers/manifest_installer.rb
+++ b/lib/compass/installers/manifest_installer.rb
@@ -48,7 +48,7 @@ module Compass
media = if stylesheet.options[:media]
%Q{ media="#{stylesheet.options[:media]}"}
end
- ss_line = %Q{ }
+ ss_line = %Q{ }
if stylesheet.options[:condition]
ss_line = " "
end