title: RVM - Warning! PATH is not properly set up
body: <p>I am having trouble with my RVM - I keep getting error messages telling me that PATH is not correctly set up.</p>
  
  <p>First off, any of of this sounds like it it's coming from a complete noob, that's because it is. There have been some similar threads that I've been looking at, but nothing has helped me fix the issue. Any help would be greatly appreciated!</p>
  
  <p>When I run <code>rvm get head</code> and I get the message:</p>
  
  <pre><code>Warning! PATH is not properly set up, '/Users/mbauer/.rvm/src/rvm/gems/ruby-2.1.0/bin' is not at first place,
           usually this is caused by shell initialization files - check them for 'PATH=...' entries,
           it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
           to fix temporarily in this shell session run: 'rvm use ruby-2.1.0'.
  </code></pre>
  
  <p>I've tried running <code>rvm get head --auto-dotfiles</code> and restarted the terminal- no help.</p>
  
  <p>Running <code>rvm use ruby-2.1.0</code> also does not do anything, even in the current shell session. </p>
  
  <p>When I run <code>rvm --debug get head</code> I noticed this:</p>
  
  <pre><code>step&gt; 'update_gemsets_install_rvm' started
  Installing rvm gem in 1 gemsetsERROR:  While executing gem ... (Errno::EACCES)
  Permission denied - /Users/mbauer/.rvm/src/rvm/gems/ruby-2.0.0-p247@global/cache/rvm-1.11.3.8.gem
  Installing gem-wrappers gem in 2 gemsetsERROR:  While executing gem ... (Errno::EACCES)
  Permission denied - /Users/mbauer/.rvm/src/rvm/gems/ruby-2.0.0-p247@global/cache/gem-wrappers-1.2.1.gemERROR:  While executing gem ... (Errno::EACCES)
  Permission denied - /Users/mbauer/.rvm/src/rvm/gems/ruby-2.0.0-p247@global/cache/gem-wrappers-1.2.1.gem
  </code></pre>
  
  <p><strong>My research thus far leads me to believe that the problem is somewhere in my bash_profile</strong></p>
  
  <p>I've been referencing <a href="https://github.com/wayneeseguin/rvm/issues/2272">this thread</a>, it seems like we have similar issue but I can't figure out what I would need to change/remove in my bash_profile to remedy the problem.</p>
  
  <p>Here are the contents of my bash_profile:</p>
  
  <pre><code>[[ -s "$HOME/.rvm/src/rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/src/rvm/scripts/rvm" # Load RVM into a shell session *as a function*
  if [[ -s $HOME/.rvm/scripts/rvm ]]; then
    source $HOME/.rvm/scripts/rvm;
  fi
  export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
  export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/mbauer/.rvm/src/rvm/bin
  export PATH=$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/mbauer/.rvm/src/rvm/bin
  </code></pre>
  
  <p>Can anyone shed some light on this for me?</p>