title: rails -v shows wrong version when using rvm
body: <p>I've just tried to update to Rails 3.1.3 using RVM with the following commands:</p>
  
  <blockquote>
    <p>rvm install ruby-1.9.3-p0</p>
    
    <p>rvm --default use ruby-1.9.3-p0</p>
  </blockquote>
  
  <p>If I query the current version or ruby:</p>
  
  <blockquote>
    <p>ruby -v</p>
  </blockquote>
  
  <p>I get the correct version: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]</p>
  
  <p>Then to update the gems:</p>
  
  <blockquote>
    <p>gem update --system</p>
  </blockquote>
  
  <p>This gives me  version 1.8.24</p>
  
  <p>I then create my gemset and set it as my default:</p>
  
  <blockquote>
    <p>rvm ruby-1.9.3-p0@rails313 --create --default</p>
  </blockquote>
  
  <p>and finally install the Rails gem:</p>
  
  <blockquote>
    <p>gem install rails</p>
  </blockquote>
  
  <p>When I query the version of rails:</p>
  
  <blockquote>
    <p>rails -v</p>
  </blockquote>
  
  <p>I get Rails 3.0.11 ... my old version of Rails</p>
  
  <p>If I try to start my Rails server</p>
  
  <blockquote>
    <p>rails s</p>
  </blockquote>
  
  <p>I get a huge error:</p>
  
  <blockquote>
    <p>.rvm/gems/ruby-1.9.3-p0@rails313/gems/activesupport-3.0.11/lib/active_support dependencies.rb:239:in `require': dlopen(/Users/lss_dev/.rvm/gems/ruby-1.9.3-p0@rails313/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.bundle, 9): Symbol not found: _ruby_current_thread (LoadError)</p>
  </blockquote>
  
  <p>With a lot of complaints about dependencies.</p>
  
  <p>My gemfile.lock does contain the following block:</p>
  
  <blockquote>
    <p>rails (3.0.11)</p>
  
  <pre><code>  actionmailer (= 3.0.11)
  
    actionpack (= 3.0.11)
  
    activerecord (= 3.0.11)
  
    activeresource (= 3.0.11)
  
    activesupport (= 3.0.11)
  
    bundler (~&gt; 1.0)
  
    railties (= 3.0.11)
  </code></pre>
  </blockquote>
  
  <p>Does this have something to do with it or should I even be touching the gemfile.lock file??</p>
  
  <p>I'm using rvm version 1.10.0, any help would be appreciated</p>