Gem::FilePermissionError: You don’t have write permissions for the /Users//.rvm/gems/… directory.

(This is a legacy post from the old website.)

Getting the following error?:

Gem::FilePermissionError: You don’t have write permissions for the /Users/<username>/.rvm/gems/… directory.

Probably installed something under sudo. Fix the ownership of your RVM directory.

sudo chown -R <username> ~/.rvm

Leave a Reply

Your email address will not be published. Required fields are marked *