title: Installed Rails but the rails command says it's not installed
body: <p>I'm using Ubuntu 9.10 Karmic Koala and Ruby 1.9.1.</p>
  
  <p>I installed Rails using <code>sudo gem install rails</code>, which installed all the libraries for me.</p>
  
  <p>When I type <code>rails</code> in the terminal it says.</p>
  
  <p>The program 'rails' is currently not installed.  You can install it by typing:
  sudo apt-get install rails
  rails: command not found</p>
  
  <p>I can find rake, which is under rake1.9.1, but Rails is nowhere to be found, can someone point me in the right direction?</p>
  
  <p>Edit: path to ruby isn't the problem, the problem is where is rails? how do I execute it? rails just doesn't work, where does the exectuable lives?</p>