Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.