title: RVM,Gemset, Bash on MacOSX - what have I done during my upgrade?
body: <p>Every time I open a new terminal in Mac OSX Lion, rails isn't loaded. This is after I upgraded to ruby 1.9.3 and rails 3.2 - so I was doing a lot of configuring but not sure what I've screwed up. It used to work fine.</p>
  
  <p>If I load a new terminal on startup, and type:</p>
  
  <pre><code>rvm
  </code></pre>
  
  <p>that works.</p>
  
  <p>If I type </p>
  
  <pre><code>ruby -v
  </code></pre>
  
  <p>I get the correct (1.9.3)</p>
  
  <p>but if I type rails -v, I get an error saying:</p>
  
  <pre><code>/Users/userishere/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (&gt;= 0) amongst [rake-0.9.2.2, rake-0.9.2] (Gem::LoadError)
      from /Users/userishere/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
      from /Users/userishere/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb:1208:in `gem'
      from /usr/bin/rails:18:in `&lt;main&gt;'
  </code></pre>
  
  <p>If I type:</p>
  
  <pre><code>   rvm use 1.9.3p0@rails32 --default
  </code></pre>
  
  <p>That makes rails work as normal, but only in that terminal window -even a new tab in terminal, rails gives errors - how do I get it to accept that gemset/config as the global default whenever I start up? I have:</p>
  
  <pre><code>[[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" # Load RVM function
  </code></pre>
  
  <p>in my .bash_profile. </p>
  
  <p>What have I done to my config / missed in my upgrade? It seems like something simple, but I'm not spotting it.</p>