title: Could not find rake-10.0.4 in any of the sources - passenger.conf issue?
body: <p>So, I'm going a little mad trying to work out why I'm getting this error. </p>
  
  <p>Probably serves me right for taking the Bitnami <em>shortcut</em> for installing Spree. I get the following error after trying to change the gemfile from <code>gem 'spree', '2.0.1'</code> to <code>gem 'spree', '2.0.2'</code> (or getting the latest stable version from github) </p>
  
  <pre><code>    [agents/HelperAgent/RequestHandler.h:1888 ]: [Client 21] Cannot checkout session. An error occured while starting up the preloader.
      Error page:
      Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
      &lt;bitnami_install_dir&gt;/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in `block in materialize'
      ...
      &lt;bitnami_install_dir&gt;/ruby/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
      ...
      &lt;bitnami_install_dir&gt;/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.2/lib/phusion_passenger/loader_shared_helpers.rb:212:in `run_load_path_setup_code'
      ...
      &lt;bitnami_install_dir&gt;/ruby/lib/ruby/gems/1.9.1/gems/passenger-4.0.2/helper-scripts/rack-preloader.rb:5:in `&lt;main&gt;'
  </code></pre>
  
  <p>I've deleted <code>gemfile.lock</code>, re-run <code>bundle install</code> and I can see that I have the correct version of rake installed (10.0.4). From researching on the web, I'm guessing that it's probably something to do with Passenger point to a different version of ruby to the one I'm trying to run (I'm using 1.9.3 and the stack trace is moaning about 1.9.1)</p>
  
  <p>Unfortunately, I'm struggling to fix this.</p>
  
  <p>I couldn't get <code>passenger-config --ruby-command</code> to run, but I did find my <code>passenger.conf</code>:</p>
  
  <pre><code>    &lt;bitnami_install_dir&gt;\apache2\conf\bitnami\passenger.conf
  </code></pre>
  
  <p>I've been trying to change the following line:</p>
  
  <pre><code>    PassengerRuby &lt;bitnami_install_dir&gt;/ruby/bin/ruby
  </code></pre>
  
  <p>but can't seem to find the right path (assuming I'm actually heading up the right path...).</p>
  
  <p>I looked up my <code>rvm env --path</code> =></p>
  
  <pre><code>    $ rvm env --path
      /usr/local/rvm/environments/ruby-1.9.3-p194
  </code></pre>
  
  <p>Tried <code>/usr/local/rvm/environments/ruby-1.9.3-p194</code> and <code>/usr/local/rvm/environments/ruby-1.9.3-p194/ruby</code> but still no joy.</p>
  
  <p>I've been staring at the screen too long, and it's starting to get late - would appreciate a nudge in the right direction if you can spot what I'm doing wrong.</p>