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 trialIan Rushton
15,789 PointsHelp installing Sass on my Mac
Upon trying to install Sass on my Mac I get this error...
Ians-MBP:~ Ian$ gem install sass
Fetching: sass-3.4.22.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
Ians-MBP:~ Ian$
Does anyone have any ideas as to why?
An help would be greatly appreciated.
1 Answer
Arielle Aurrichio
48 Pointssudo gem install sass should work.
It'll ask for a password, which is the one you use to login to the machine.
Gregory Ledger
6,116 PointsSame problem, but there is no password for my machine. Terminal won't take "enter" or nothing as a password.
Viktor Yakov
Front End Web Development Techdegree Graduate 15,770 PointsViktor Yakov
Front End Web Development Techdegree Graduate 15,770 PointsHello Ian. If I'am right you're moste likely to have gem SASS (which is part of Ruby) on your Mac. Try not to install that gem. Just try to run sass with watch command : sass --watch scss:css e.t.c. Hope this helps ;) You can try sudo gem update --system.