Fixes issue #8951 - gem install fails when rvm is set up with another user
Merge pull request #9020 from ouiea/fix-gem-rvm-with-another-user

Fixes issue #8951 - gem install fails when rvm is set up with another us...