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 trialnicolaswilhelm
6,824 PointsI have rbenv but, I can't install gems?
Like the title says I installed rbenv but when I try to install I get this error message ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. I would really like answers as fast as possible. Thanks for reading -Nick
2 Answers
Zachary Green
16,359 Pointstry running the command as sudo. (im asumming your on MAC or linux)
Thomas Mc Gauran
436 PointsSo for anyone as slow as me :) the command would be "sudo gem install bundler" Then confirm and enter your system password.
Thanks again Zach
Alexander Kallaway (Emelianov)
10,307 PointsAlexander Kallaway (Emelianov)
10,307 PointsWorked for me, thank you!