title: RVM Warning! PATH is not properly set up
body: <p>I just installed rvm on my mac, but I receive this warning on global commands</p>
  <blockquote>
  <p>Warning! PATH is not properly set up, '/usr/local/rvm/gems/ruby-1.9.3-p194/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-1.9.3-p194'.</p>
  </blockquote>
  <p>My $PATHS confirms the warning:</p>
  <pre><code>$echo :$PATH:
  </code></pre>
  <blockquote>
  <p>/usr/local/rvm/bin:/usr/local/heroku/bin:/usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:</p>
  </blockquote>
  <p>As suggested, I first tried <code>rvm get stable --auto-dotfiles</code> to no avail, then I checked my shell initializations files. My /.bash_profile:</p>
  <pre><code>export PATH=/usr/local/bin:/usr/local/sbin:$PATH
  export PATH=/usr/local/share/python:$PATH
  PATH=$PATH:$HOME/bin:/opt
  </code></pre>
  <p>My /Users/User/.bash_profile seems to be the culprit:</p>
  <pre><code>export PS1=&quot;[\w]$&quot;
  alias ll='ls -laGH'
  alias .='echo $PWD'
  
  ### Added by the Heroku Toolbelt
  export PATH=&quot;/usr/local/heroku/bin:$PATH&quot;
  
  # rvm
  PATH=/usr/local/rvm/bin:$PATH
  [[ -s &quot;$HOME/.rvm/scripts/rvm&quot; ]] &amp;&amp; source &quot;$HOME/.rvm/scripts/rvm&quot; # Load RVM into a shell session *as a function*
  </code></pre>
  <p>The reason is if I remove Heroku Toolbelt and the rvm paths (which were answers suggested by other stack overflow questions), <code>/usr/local/rvm/gems/ruby-1.9.3-p194/bin</code> would be in first place and the problem is resolved. However, I don't know what to do with the Heroku Toolbelt. Additionally, shouldn't <code>PATH=/usr/local/rvm/bin:$PATH</code> place rvm first anyways?</p>
  <p>I must be missing some trivial solution.</p>
  <p>Additional notes:
  <code>$rvm --debug get head</code> produces no installation notes regarding this except for the warning posted above.</p>
  <p>Update: calling <code>rvm system</code> fixes the problem, but only in the current shell session. <code>$echo $PATH</code> now produces:</p>
  <pre><code>:/usr/local/heroku/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/rvm/bin:
  </code></pre>
  <p>What is a permanent fix?</p>