From: Steve Klabnik Date: 2011-01-22T03:13:16+09:00 Subject: Re: using gems installed via 'sudo gem install' --0015174c1784d41a9e049a5f33af Content-Type: text/plain; charset=ISO-8859-1 What you want is this: rvmsudo gem install rvm works by changing your $PATH. When you switch users with sudo, that changes your $PATH too. rvmsudo lets you also temporarily change the $PATH of your administrator account, so that you can install gems properly while still having increased permissions. --0015174c1784d41a9e049a5f33af--