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 trialtungtruong
2,449 PointsWhy can is this happening --> You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. Please help!
Tried to install Rails and others...
Yan Kozlovskiy
30,427 PointsYan Kozlovskiy
30,427 PointsThis happens because you're not running as a superuser. To run as a superuser you type the sudo command before the name of the tool that you're using. This should fix that problem you're having.
If that doesn't work you can try to do: chmod +w /the/path/to/the/directory/goes/here
Note, you might need to use sudo to make changes with chmod.