(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