0

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

2 Answers 2

1

This is a known bug. A fix will probably be released tonight or tomorrow night.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! I look forward to getting started with sass, thanks for letting me know about the upcoming fix.
0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.