title: does rbenv set the PATH variable to point to the correct ruby?
body: <p>I installed rbenv and it seems and copied 2 versions of ruby to ~/.rbenv/versions, it shows
  them both correctly.</p>
  
  <p>When I run
      rbenv global 1.8.7-p72<br>
  It says ok and also points to it. However when I run--</p>
  
  <pre><code>ruby --version
  </code></pre>
  
  <p>I get ruby not found. Basically, the ruby executable is not found in the path. Can anyone help me with this problem?</p>
  
  <p>My .bash_profile is<br>
      export PATH="$HOME/.rbenv/bin:$PATH"<br>
      eval "$(rbenv init -)"</p>
  
  <p>rbenv versions outputs --<br>
   1.8.7-p72<br>
  *1.9.3-p448 ( set by /home/user/.rbenv/version)</p>
  
  <p>Also my ~/.rbenv/shims directory doesn't have a ruby executable. It has erb, gem,irb , rake, rdoc , ri and testrb. Could this be the issue?   </p>
  
  <p>I'm sorry I'm completely clueless</p>