diff --git a/lib/compass/installers/rails.rb b/lib/compass/installers/rails.rb index 3d920a51..9f2a3e36 100644 --- a/lib/compass/installers/rails.rb +++ b/lib/compass/installers/rails.rb @@ -117,6 +117,8 @@ Compass.configure_sass_plugin! def stylesheet_links html = "%head\n" 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')}'" if stylesheet.options[:media] ss_line += ", :media => '#{stylesheet.options[:media]}'"