rbenv should not be trying to install to your System install of Ruby. If you check the permissions on /Library/Ruby/Gems/2.0.0
you'll see it's owned by root, which means you'll need to sudo to write to it, which we're trying to avoid.
This suggests that either
- There is something wrong with your rbenv installation, because it should be looking at
/Users/whoami/.rbenv/versions/2.0.0
. As you can see in their documentation. I'd confirm that your rbenv is operating correctly or maybe try reinstalling to make sure your rbenv installation of ruby is taking priority. - Your system ruby might be clobbering your rbenv. Have you made sure that your system ruby isn't taking precedence in your path? Try running
gem list rake -d
with a gem you already have installed to see where your gems are currently installed