How to make Rails 3.1 use SASS (Over SCSS) as the default?

后端 未结 6 1599
无人及你
无人及你 2020-12-12 14:06

Having a hard time figuring out how to make SASS, not SCSS, as the default for stylesheets.

I\'ve tried making a sass_config.rb file with this:

6条回答
  •  甜味超标
    2020-12-12 14:58

    I definitely prefer sass to scss too - have you considered just using the compass gem for all your CSS, and adding preferred_syntax = :sass to config/compass.rb

    I haven't tested this out yet on rails 3.1 yet but it works in 3.0.7

    EDIT

    As a troubleshooting step, what happens when you remove just the first line of code from sass_config.rb so that it just has the second one? Do both these lines cause the error?

提交回复
热议问题