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 Compass Basics Getting Started with Compass Installing Compass

Ken Wilson
Ken Wilson
7,885 Points

gem update --system will not run

I checked permissions and I'm the admin with read and write privileges and get the following error:

ERROR: While executing gem ... (Errno::EACCES) Permission denied - /Library/Ruby/Gems/2.0.0/cache/rubygems-update-2.6.2.gem LDFWSGZFH00:~ Ken$

What is your OS?

2 Answers

Ken Wilson
Ken Wilson
7,885 Points

OSX Version 10.11.3 (15D21). I also tried to use the sudo command and get permission errors as well.

Marco Boretto
Marco Boretto
29,821 Points

try this out:

sudo gem install -n /usr/local/bin compass