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

General Discussion

Jordan Anderson
Jordan Anderson
19,560 Points

Sass install confusion

Hello,

i ran " gem install sass " on the command line (terminal) but recieved the error: " While executing gem ...(Gem:: FilePermissionError) You don't have permission for the /Library/Ruby/Gems/2.0.0 directory."

However, when i continue along with the video and go to check my version of Sass ( running " sass --version " in the terminal), it says i have "Sass 3.2.14".

So is Sass installed correctly or do i need to do some more research? I would prefer not to mess around too much in the terminal since i have very limited experience and would prefer not to mess up my system!

Thank you ahead of time. It is greatly appreciated !

4 Answers

Edit

Since it's actually displaying the verison for sass, then you're probably good to go. Check with the sudo command anyways. Better safe than sorry.

Maybe you can try sudoing the command like this:

sudo gem install sass

If it's installed, it will probably report back that the gem is already installed on your computer.

Jordan Anderson
Jordan Anderson
19,560 Points

I tried it and it failed the first time but the 2nd time around it said "Successfully installed sass-3.2.14 Parsing documentation for sass-3.2.14 1 gem installed."

Thank you for your help!

.

It's just warning you to be careful with the sudo command. It would have showed up if you used it for somethinge else, so not specific for sass.

Thanks Eirik Vale Aase, it worked :)

Jordan Anderson
Jordan Anderson
19,560 Points

I can't say I'm familiar with that warning. Mine had a failiure, then success on the second run. I'm no expert myself on this topic but I would start by checking here sass-lang.com/install.

.