Welcome to the Treehouse Community
Looking to learn something new?
Sass overwrite problem
This is what I get when I type in sass --watch . : Tylers-Mac-mini:~ tylerhaas$ sass --watch .
Sass is watching for changes. Press Ctrl-C to stop. write ./test.css LoadError: cannot load such file -- rb-fsevent Use --trace for backtrace. Tylers-Mac-mini:~ tylerhaas$
This makes it so that the css file doesn't update with my code. help please!
Magnus Hovland5,657 Points
If I understand correctly it seems that it is trying to require "rb-fsevent". I'm not sure if this will help, but try running
gem install rb-fsevent
And then run the sass watch command again when the gem has finished installing. Hopefully that will take care of it. :)
yes I should clarify that instead of overwrite ./test.css it says write ./test.css so I can update the css file with my code it just wont do it automatically
that worked thank you so much!
Thanks, Magnus - I ran into this as well, and your fix took care of this!
Y K3,390 Points
So when I tried
gem install rb-fsevent command, I got following.
Yamatos-MacBook-Air:Desktop yamatokaneko$ gem install rb-fsevent
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Anybody knows how to solve this and install it correctly?
I think I had to precede some of my install commands with sudo, and then enter my password.
Hey! Same thing here. I get the "You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory" message when trying to install rb-fsevent. Any news on this front?