title: Why is Rails using an old version of Ruby even though I have updated it?
body: <p>I have an Ubuntu machine with Ruby 1.8 installed.</p>
  
  <p>I copied my Rails application to it, and did <code>bundle install</code>. It installed everything fine. The application requires Ruby 1.9, so I downloaded the Ruby source, compiled, and installed it.</p>
  
  <p>When I do <code>ruby -v</code>, I get <code>ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]</code>, but when I do <code>RUBY_VERSION</code> on <code>rails console</code>, I get <code>1.8.7</code>. When I try to run my Rails application, it fails. My Rails application is using the older version of Ruby even when from the console and everywhere else it works fine. Heck, I even created a new Rails application and it uses a newer version.</p>
  
  <p>Any ideas what's going on?</p>