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

Ruby

Installing sass tutorial

I typed down gym install sass and I get this "You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory."

3 Answers

Colin Marshall
Colin Marshall
32,861 Points

type "sudo gem install sass" and it will ask you for your password and should install after that.

Hope you mean "gem" not "gym"

Just FYI if you are running OS X Mavericks, and you use the "sudo gem install sass" you are likely to encounter the following message

"rake's executable "rake" conflicts with /user/bin/rake Overwrite the executable? [yN]"

Daunting. After googling this, I found this helpful post: https://github.com/CocoaPods/CocoaPods/issues/1564

Long story short, you can confidently proceed with "y" to install.