title: Ubuntu Installation Error
body: <p>I had used below mentioned commands to install rails in ubuntu 12.10</p>
  
  <pre><code>sudo apt-get update
  
  sudo apt-get install curl
  
  \curl -L https://get.rvm.io | bash -s stable
  
  source ~/.rvm/scripts/rvm
  
  rvm requirements
  
  rvm install 1.9.3
  
  rvm use 1.9.3 --default
  
  rvm rubygems current
  
  gem install rails
  </code></pre>
  
  <p>Every steps are doing good, but it works for terminal which we are installing rails. If we exit from the terminal and work on a new terminal then the following error occurs.</p>
  
  <pre><code>The program 'rails' can be found in the following packages: * rails * ruby-railties-3.2 Try: sudo apt-get install
  </code></pre>
  
  <p>I came through a solution that whenever I open an terminal I would run these cmd 
  source ~/.rvm/scripts/rvm rvm --default use 1.9.3-p374</p>
  
  <p>Can any one explain why these things happen??</p>