title: "no such file to load -- bundler" error when booting redmine with passenger standalone
body: <p>I've been searching all over the internet (well, kind of) for the solution to this error, but to no avail. A few of people out there have this error, but their solutions just don't work for my case.</p>
  
  <p>I'm trying to set up redmine with passenger (standalone version, not nginx nor apache bundler - I have some reasons not to). When I boot up redmine with <code>passenger start -e production -d</code> the error <code>no such file to load -- bundler</code> appears.</p>
  
  <p>When, of course, I have bundle installed:</p>
  
  <pre><code># gem list -d bundler
  
  *** LOCAL GEMS ***
  
  bundler (1.0.21)
      Authors: AndrÃ© Arko, Terence Lee, Carl Lerche, Yehuda Katz
      Rubyforge: http://rubyforge.org/projects/bundler
      Homepage: http://gembundler.com
      Installed at: /usr/local/lib/ruby/gems/1.8
  
      The best way to manage your application's dependencies
  </code></pre>
  
  <p>And (looks like) my gem, ruby and such stuffs are in correct forms:</p>
  
  <pre><code># gem env
  RubyGems Environment:
    - RUBYGEMS VERSION: 1.4.2
    - RUBY VERSION: 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]
    - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
    - RUBY EXECUTABLE: /usr/local/bin/ruby
    - EXECUTABLE DIRECTORY: /usr/local/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86_64-linux
    - GEM PATHS:
       - /usr/local/lib/ruby/gems/1.8
       - /root/.gem/ruby/1.8
    - GEM CONFIGURATION:
       - :update_sources =&gt; true
       - :verbose =&gt; true
       - :benchmark =&gt; false
       - :backtrace =&gt; false
       - :bulk_threshold =&gt; 1000
    - REMOTE SOURCES:
       - http://rubygems.org/
  </code></pre>
  
  <p>I've followed like all possible solutions learned from other sources. I've even created a symbolic link for bundler from <code>/usr/local/lib/ruby/gems/1.8</code> to <code>/root/.gem/ruby/1.8</code> following another thread on StackOver flow (well, just in case). It just doesn't work. Everytime I try to boot up, that <code>no such file to load -- bundler</code> strikes.</p>
  
  <p>Could anyone help me on this? I'm not in any ways a Rails guru.</p>