title: Problem with Ruby, Rails, ZSH and RVM
body: <p>When I go into my rails app folder and write:</p>
  
  <pre><code>which ruby
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>/Users/gugguson/.rvm/rubies/ruby-head/bin/ruby
  </code></pre>
  
  <p>When I write:</p>
  
  <pre><code>ruby -v
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>ruby 1.9.3dev (2010-09-25 trunk 29341) [x86_64-darwin10.4.0]
  </code></pre>
  
  <p>Hovever when I run my app with:</p>
  
  <pre><code>rails s
  </code></pre>
  
  <p>I get an error indication it is using ruby 1.8.7 my app is using:</p>
  
  <pre><code>/Users/gugguson/.rvm/gems/ruby-head/gems/sqlite3-ruby-1.3.1/lib/sqlite3/sqlite3_native.bundle: [BUG] Segmentation fault
  ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
  
  zsh: abort      rails s
  </code></pre>
  
  <p>Do you know what can be causing this?</p>