Rails3 and Sass::Plugin::options
问题 When I try to add Sass::Plugin.options[:style] = :compact to environment.rb When I try to start up my server I get: uninitialized constant Sass (NameError) I have added gem 'haml', '3.0.0' to my Gemfile . Anybody ran into this? 回答1: I tried what you described and it worked fine for me. I'm using haml 3.0.4 which is the latest version. You may want to run a gem update haml on your system and try again. The list of changes from 3.0.0 to 3.0.4 are at http://sass-lang.com/docs/yardoc/file.SASS