title: -bash: ruby: command not found
body: <pre><code>hyperrjas@serv1:~$ rbenv global
  1.9.3-p392
  hyperrjas@serv1:~$ rbenv local
  1.9.3-p392
  hyperrjas@serv1:~$ which ruby-build
  /usr/local/bin/ruby-build
  hyperrjas@serv1:~$ rbenv versions
  * 1.9.3-p392 (set by /home/hyperrjas/.ruby-version)
  hyperrjas@serv1:~$ rbenv version
  1.9.3-p392 (set by /home/hyperrjas/.ruby-version)
  hyperrjas@serv1:~$ rbenv rehash
  hyperrjas@serv1:~$ ruby -v
  -bash: ruby: command not found
  hyperrjas@serv1:~$ env | grep PATH
  PATH=/home/hyperrjas/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
  NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
  hyperrjas@serv1:~$ export PATH="$HOME/.rbenv/bin:$PATH"
  hyperrjas@serv1:~$ ruby -v
  -bash: ruby: command not found
  </code></pre>
  
  <p><strong>I'm working with ubuntu 12.04.</strong></p>
  
  <p>This is my <code>~/.profile</code> file:</p>
  
  <pre><code># ~/.profile: executed by the command interpreter for login shells.
  # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  # exists.
  # see /usr/share/doc/bash/examples/startup-files for examples.
  # the files are located in the bash-doc package.
  
  # the default umask is set in /etc/profile; for setting the umask
  # for ssh logins, install and configure the libpam-umask package.
  #umask 022
  
  # if running bash
  if [ -n "$BASH_VERSION" ]; then
      # include .bashrc if it exists
      if [ -f "$HOME/.bashrc" ]; then
          . "$HOME/.bashrc"
      fi
  fi
  
  # set PATH so it includes user's private bin if it exists
  if [ -d "$HOME/bin" ] ; then
      PATH="$HOME/bin:$PATH"
  fi
  export PATH="$HOME/.rbenv/bin:$PATH"
  eval "$(rbenv init -)"
  eval "$(rbenv init -)"
  eval "$(rbenv init -)"
  </code></pre>
  
  <p>I have installed ruby last version with rbenv and when I try <code>ruby -v</code> I get <code>-bash: ruby: command not found</code></p>