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 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,863 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!