title: Rails mongrel with RVM fails to startup - mongrel_rails (MissingSourceFile)
body: <p>I'm having trouble with RVM and mongrel_rails getting along, so any help would be greatly appreciated.</p>
  
  <p>I can happily start my Rails 2.x application with script/server using the Ruby gem mongrel.
  Details:
  which rails
  /opt/local/bin/rails
  which mongrel_rails
  /opt/local/bin/mongrel_rails
  which gem
  /opt/local/bin/gem</p>
  
  <p>However I've just added RVM with Ruby 1.8.7 and installed all my gems including mongrel but when i try to start my rails app with script/server I now get:
  no such file to load -- mongrel_rails (MissingSourceFile)</p>
  
  <p>Running a few checks I find:</p>
  
  <p>which mongrel_rails
  /Users/daniellewis/.rvm/gems/ruby-1.8.7-p334@nacore/bin/mongrel_rails
  which rails
  /Users/daniellewis/.rvm/gems/ruby-1.8.7-p334@nacore/bin/rails
  which gem
  /Users/daniellewis/.rvm/rubies/ruby-1.8.7-p334/bin/gem</p>
  
  <p>.profile has:
  export PATH=/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:$PATH
  [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm"</p>
  
  <p>(I'm using macports)</p>
  
  <p>Any ideas on why script/server can't find mongrel_rails? I can only guess it's to do with .profile but I'm not sure what.</p>
  
  <p>Thanks!</p>