Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Permission

juan$ gem install bundler ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. juans-MacBook-Pro:~ juan$

2 Answers

Steve Hunter
MOD
Steve Hunter
Treehouse Moderator 57,551 Points

Hi Juan,

Have you tried typing sudo before that command? That might open up the privileges.

Steve.

Steve, Awesome sudo Worked got the bundler gem installed!!

Steve Hunter
Steve Hunter
Treehouse Moderator 57,551 Points

Excellent - it's always worth trying sudo if you run into permissions issues.

Glad it got you going again!

Steve.