title: Gem installation error for non-root user
body: <p>I did RVM single user installation on my CentOS server as root user, so rvm location is /usr/local.. However, now we have to use individual user accounts.<br>
  So now if I try to install a new gem, for instance - </p>
  
  <ol>
  <li><blockquote>
    <p>gem install linecache19 -v '0.5.12'</p>
    
    <p>ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /usr/local/rvm/gems/ruby-1.9.2-p320@cams directory.</p>
  </blockquote></li>
  <li><blockquote>
    <p>sudo gem install linecache19 -v '0.5.12'</p>
    
    <p>/usr/local/rvm/rubies/ruby-1.9.2-p320/bin/gem:12:in `require': no such file to load -- rubygems (LoadError)
        from /usr/local/rvm/rubies/ruby-1.9.2-p320/bin/gem:12</p>
  </blockquote></li>
  </ol>
  
  <p>Point to note: I thought of re-installing the rubies and rvm with individual user account and do away with root installation. But I already have some apps running on the server as staging, so want to avoid this.</p>
  
  <p>How can I solve these problems?</p>