SASS is not creating the CSS files, but HAML is working just fine.
I ran the following command:
$: sass --watch scss:stylesheets
开发者_高级运维[true, ["scss", "stylesheets"]]
My main.scss file contains the following:
/* main.scss */
body {
background: #000000;
}
The main.css file never gets generated. So I ran the following:
$: sass --update
NoMethodError: undefined method `split' for nil:NilClass
Use --trace for backtrace.
What gives?
- Running Rails 3
- I've tried both haml and haml-edge
This is a known bug. A fix will probably be released tonight or tomorrow night.
I'm not sure if this is your issue (I get a different error from you when I try to run it), but you're missing the brackets around your SCSS property list in the code you posted, so that code shouldn't parse correctly.
精彩评论