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 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