title: no such file to load -- bundler/setup with redmine 2.2.2 and ubuntu 10.04
body: <p>I get the error:</p>
  
  <pre>
  no such file to load -- bundler/setup
  </pre>
  
  <p>You can see the next image atachment:</p>
  
  <p><img src="https://i.stack.imgur.com/CTxVp.jpg" alt="enter image description here"></p>
  
  <p>However my bundle is installed fine. If I run from <code>redmine/config/</code> the command</p>
  
  <pre>
   bundle install --without development test postgresql sqlite
  </pre>
  
  <p>I get:</p>
  
  <pre>
  Using rake (10.0.3) 
  Using i18n (0.6.1) 
  Using multi_json (1.5.0) 
  Using activesupport (3.2.11) 
  Using builder (3.0.0) 
  Using activemodel (3.2.11) 
  Using erubis (2.7.0) 
  Using journey (1.0.4) 
  Using rack (1.4.4) 
  Using rack-cache (1.2) 
  Using rack-test (0.6.2) 
  Using hike (1.2.1) 
  Using tilt (1.3.3) 
  Using sprockets (2.2.2) 
  Using actionpack (3.2.11) 
  Using mime-types (1.19) 
  Using polyglot (0.3.3) 
  Using treetop (1.4.12) 
  Using mail (2.4.4) 
  Using actionmailer (3.2.11) 
  Using arel (3.0.2) 
  Using tzinfo (0.3.35) 
  Using activerecord (3.2.11) 
  Using activeresource (3.2.11) 
  Using coderay (1.0.8) 
  Using rack-ssl (1.3.3) 
  Using json (1.7.6) 
  Using rdoc (3.12) 
  Using thor (0.17.0) 
  Using railties (3.2.11) 
  Using jquery-rails (2.0.3) 
  Using mysql2 (0.3.11) 
  Using net-ldap (0.3.1) 
  Using ruby-openid (2.1.8) 
  Using rack-openid (1.3.1) 
  Using bundler (1.2.3) 
  Using rails (3.2.11) 
  Using rmagick (2.13.1) 
  Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
  </pre>
  
  <p>This is my ruby -v:</p>
  
  <pre><code>ruby 1.9.3p374 (2013-01-15 revision 38858) [i686-linux]
  </code></pre>
  
  <p>This is my rails -v:</p>
  
  <pre><code>Rails 3.2.11
  </code></pre>
  
  <p>I have installed redmine with ubuntu 12 last version and is working fine, but with ubuntu 10.04 I get this error</p>
  
  <p>This is my apache default conf:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerAdmin webmaster@localhost
          DocumentRoot /var/www/redmine/public
          &lt;Directory /&gt;
                  Options FollowSymLinks
                  AllowOverride None
          &lt;/Directory&gt;
          &lt;Directory /var/www/redmine&gt;
                  RailsBaseURI /redmine
                  Options Indexes FollowSymLinks MultiViews
                  AllowOverride None
                  Order allow,deny
                  allow from all
          &lt;/Directory&gt;
          ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
          &lt;Directory "/usr/lib/cgi-bin"&gt;
                  AllowOverride None
                  Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                  Order allow,deny
                  Allow from all
          &lt;/Directory&gt;
          ErrorLog /var/log/apache2/error.log
          # Possible values include: debug, info, notice, warn, error, crit,
          # alert, emerg.
          LogLevel warn
          CustomLog /var/log/apache2/access.log combined
      Alias /doc/ "/usr/share/doc/"
      &lt;Directory "/usr/share/doc/"&gt;
          Options Indexes MultiViews FollowSymLinks
          AllowOverride None
          Order deny,allow
          Deny from all
          Allow from 127.0.0.0/255.0.0.0 ::1/128
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>My <code>gem env</code>:</p>
  
  <pre><code>RubyGems Environment:
    - RUBYGEMS VERSION: 1.8.22
    - RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [i686-linux]
    - INSTALLATION DIRECTORY: /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32
    - RUBY EXECUTABLE: /home/ubuntu/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
    - EXECUTABLE DIRECTORY: /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32/bin
    - RUBYGEMS PLATFORMS:
      - ruby
      - x86-linux
    - GEM PATHS:
       - /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32
       - /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@global
    - 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>This is my <code>passenger.conf</code></p>
  
  <pre><code>&lt;IfModule mod_passenger.c&gt;
    PassengerRoot /usr
    PassengerRuby /usr/bin/ruby
    PassengerDefaultUser www-database
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>when I run <code>ps -fe</code> i get:</p>
  
  <pre><code>root     28771     1  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  root     28783 28771  0 06:00 ?        00:00:00 /usr/lib/phusion_passenger/ApplicationPoolServerExecutable 0 /usr/lib/phusion_passenger/passenger-spawn-server  /usr/bin
  root     28784 28783  0 06:00 ?        00:00:35 Passenger spawn server                                                                                                  
  www-data 28789 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  www-data 28790 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  www-data 28791 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  www-data 28792 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  www-data 28793 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  www-data 28800 28771  0 06:00 ?        00:00:00 /usr/sbin/apache2 -k start
  </code></pre>
  
  <p>Where is the problem?</p>
  
  <p>Thank you!</p>