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 Installing and Using Sass

Installing Sass

The tutorial suggest that it is easy to install Sass on MAC. But I have come across an Error that states

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

Anyone else have similiar issues? How did you resolve it?

7 Answers

On the install video the author suggest going to the Sass site and having a look at the known issues. I would try there!

Tim Knight
Tim Knight
28,888 Points

You want to go ahead and proceed with your password. sudo means "Super User Do" so you're installing it with your administrator account. This is normal. There are some other options that you could do which requires some familiarity with the command line, this approach however should work just fine.

Came across this suggestion

sudo gem install sass

and I got this message

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

Should I proceed?

I do not know. Sorry to be no help! Anyone else?

Thanks Benjamin. Took a chance and it installed!

Excellent, good luck with the learning, I love it here!

Cheers,

Ben.

Thanks for that Tim!