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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Janire Santibáñez](https://uploads.teamtreehouse.com/production/profile-photos/493922/micro_photo.jpg)
Janire Santibáñez
6,736 PointsI cannot use Sass in my mac
Hi everyone!
I am having problems installing Sass in my mac, the fact is that I am following correctly the instructions provided by the teacher but It does not work for me :-(
When I add "gem install sass" on the command line, there is an error message which you can see below:
Last login: Mon Apr 14 20:44:53 on ttys000
JPs-MacBook-Pro:~ janire$ gem install sass
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
JPs-MacBook-Pro:~ janire$
Anyone know what is happening? I really appreciate your help.
Thanks in advance.
4 Answers
![rayorke](https://uploads.teamtreehouse.com/production/profile-photos/21660/micro_rhys_icon.jpg)
rayorke
27,709 PointsAbsolutely. It's a security device that OSX uses so that we don't accidentally install something that could damage our system. Thanks for explaining that Dave!
As he mentioned, the password should be your system password.
![rayorke](https://uploads.teamtreehouse.com/production/profile-photos/21660/micro_rhys_icon.jpg)
rayorke
27,709 PointsIt sounds like you don't have write permissions. Try invoking sudo with the following:
$ sudo gem install sass
I always check to make sure it installed by checking the version with:
$ sass -v
I hope that helps!
![Janire Santibáñez](https://uploads.teamtreehouse.com/production/profile-photos/493922/micro_photo.jpg)
Janire Santibáñez
6,736 PointsHi Rhys!
Thank you very much for your quick response but I have tried it and It did not work...
If I add on the command line "sudo gem install sass" I can see the following message:
---------------------------------------------------------------------------------------------------------------
JPs-MacBook-Pro:~ janire$ sudo gem install sass
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:
---------------------------------------------------------------------------------------------------------------
Have you ever had this problem? I have spent one thousand hours in front of my computer and I have not find the solution :-(
![Dave McFarland](https://uploads.teamtreehouse.com/production/profile-photos/408222/micro_1M7A0052.jpg)
Dave McFarland
Treehouse TeacherSudo lets you run a command as a "super user" -- with administrator privileges. You need to type in your password when you are prompted to continue to run the command.
Did you type in your admin password for your computer? What happened?
You should get used to using the sudo command -- you'll use it a lot when you're installing from the command line.
![James Barnett](https://secure.gravatar.com/avatar/43ea08b4fc547e8a5da87c207bea2123?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
James Barnett
39,199 PointsCheck out this video on how to use sudo
![Janire Santibáñez](https://uploads.teamtreehouse.com/production/profile-photos/493922/micro_photo.jpg)
Janire Santibáñez
6,736 PointsThank you very much for your help! I will watch the video and I will try to figure it out ;-)