title: Rails 3: Passenger can't find git gems installed by bundler
body: <p>Rails 3.0.0, Passenger 2.2.15:</p>
  
  <ul>
  <li>Create a new Rails project</li>
  <li>Add <code>gem 'paperclip', :git =&gt; 'git://github.com/lmumar/paperclip.git', :branch =&gt; 'rails3'</code>
  to your Gemfile</li>
  <li>Do <code>bundle install</code></li>
  <li>Everything OK, starting with <code>rails/script server</code> &amp; accessing also works</li>
  <li>However, when accessing with Passenger, it says:</li>
  </ul>
  
  <p>git://github.com/lmumar/paperclip.git (at rails3) is not checked out. Please run <code>bundle install</code> (Bundler::GitError)</p>
  
  <p>I have tried <code>bundler pack</code> (doesn't help) and setting BUNDER_HOME to ~/.bundler (the Paperclip git gets installed there by <code>bundler install</code>) in the .htaccess and various places in config/*.rb, but this wasn't successful, too.</p>
  
  <p>~/.bundler is owned by the same user as the Rails project (Passenger runs under this user), so it can't be a permission problem. sudo is installed and called by <code>bundle install</code>.</p>
  
  <p>Any hints?</p>