From 45ca5eb1470088553cea30181ed2a66092593cbd Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 11 Oct 2010 02:24:45 -0700 Subject: [PATCH] Fix error in installation instructions on scss-based projects. Closes GH-186. --- lib/compass/app_integration/rails/installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/app_integration/rails/installer.rb b/lib/compass/app_integration/rails/installer.rb index e3c7d11075..443a2b376e 100644 --- a/lib/compass/app_integration/rails/installer.rb +++ b/lib/compass/app_integration/rails/installer.rb @@ -122,7 +122,7 @@ def stylesheet_links 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