I am trying to get SASS to work with Rails 3.
I have added gem 'haml'
to my Gemfile
(and ran bundle install
) and I have added a styles.scss
to my public/
directory, but it does not seem to be working. Can someone help me 开发者_运维知识库out? Thanks!
By default, Sass expects sass/scss files to go in public/stylesheets/sass
, which are then compiled into css files in public. You can change this path by setting Sass::Plugin.options[:template_location]
in your config, though.
精彩评论