title: Installing Ruby via rbenv fails
body: <p><strong>Problem: I installed ruby, but it is not recognized correctly.</strong>
  I'm following the <em>deploying to VPS</em>: <a href="https://github.com/railscasts/335-deploying-to-a-vps" rel="nofollow">https://github.com/railscasts/335-deploying-to-a-vps</a></p>
  
  <p>I am setting my server on ubuntu 12.04 LTS to deploy my rails app. I'm following the railscast on deploying to a VPS, and trying to install ruby through rbenv. It seemed everything was installed correctly, but when I tried to check the ruby version, it gave me errors. The following are the commands that I ran.</p>
  
  <pre><code>deployer@max:~$ rbenv install 1.9.3-p125
  Downloading yaml-0.1.4.tar.gz...
  -&gt; http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/36c852831d02cf90508c29852361d01b
  Installing yaml-0.1.4...
  Installed yaml-0.1.4 to /home/deployer/.rbenv/versions/1.9.3-p125
  
  Downloading ruby-1.9.3-p125.tar.gz...
  -&gt; http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/e3ea86b9d3fc2d3ec867f66969ae3b92
  Installing ruby-1.9.3-p125...
  Installed ruby-1.9.3-p125 to /home/deployer/.rbenv/versions/1.9.3-p125
  
  Downloading rubygems-1.8.23.tar.gz...
  -&gt; http://cloud.github.com/downloads/sstephenson/ruby-build-download-mirror/178b0ebae78dbb46963c51ad29bb6bd9
  Installing rubygems-1.8.23...
  Installed rubygems-1.8.23 to /home/deployer/.rbenv/versions/1.9.3-p125
  
  deployer@max:~$ rbenv global 1.9.3-p125
  deployer@max:~$ ruby -v
  'ruby' program can be found in the following packages:
   * ruby1.8
   * ruby1.9.1
  </code></pre>
  
  <p>How do I solve this?</p>