Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Sass Basics (retired) Getting Started with Sass Nesting Selectors

Load Error for Sass in terminal?

I am trying to get my command line to allow me to overwrite/main.css but it just says

write/main.css LoadError: cannot load such file -- rb-fsevent
  Use --trace for backtrace.  

I can follow along but I have to type sass --watch . every time I want to view changes to my CSS and Sass. Any idea what I should do?

3 Answers

James Barnett
James Barnett
39,199 Points

> Any idea what I should do?

Google the error message :wink:

When I googled cannot load such file -- rb-fsevent the first result informed me you need to:

Install the missing file: To do that use the gem install rb-fsevent command

source: http://stackoverflow.com/a/22433850/1756132

Thank you for the help. I had googled many of the error messages I was getting but not this one. Thanks

James Barnett
James Barnett
39,199 Points

Choosing the what to google is in my estimation more art than science, I've been there.

I actually just ran into this problem. I would recommend just downloading Scout, as Hampton showed in the video. Scout basically does the command line work for you, and is very simple to set-up and use.

In terms of the actual command line problem, like I said, I'm not entirely sure, as I ran into it as well. Until you figure it out, just go with Scout so you can continue learning Sass without worrying about terminal.