title: The git user is unable to execute bundle during GitLab installation
body: <p>I am trying to install GitLab on a Debian Wheezy and experiencing an issue I don't understand.</p>
  
  <p>Following the <a href="https://github.com/gitlabhq/gitlabhq/blob/5-0-stable/doc/install/installation.md" rel="nofollow">install guide</a> for version 5.0:</p>
  
  <ul>
  <li>step 1: was run as explained</li>
  <li>step 2: I used rvm (multi-user install) instead (ruby-1.9.3-p392)</li>
  <li>steps 3 to 5: were run as explained (MySQL chosen)</li>
  <li>step 6: everything works fine until the "Install Gems" section, where I get the following error:</li>
  </ul>
  
  <pre>
  /home/git/gitlab$ sudo -u git -H bundle install --deployment --without development test postgres
  sudo: unable to execute /usr/local/bin/bundle: No such file or directory
  </pre>
  
  <p>I run this as my normal user (in the <code>sudo</code> and <code>rvm</code> groups), and the <code>git</code> user is not a <code>sudo</code>er.</p>
  
  <p>I think that the line <code>sudo gem install bundler</code>, in step 2, does not grant the <code>git</code> user to execute bundle properly, but I don't know how to fix this.</p>
  
  <p>I probably did something wrong but cannot figure out what it is, as I tried to respect the standard instructions as close as possible.</p>
  
  <p>Any clue about this? Thanks, I am losing hope...</p>
  
  <p>For information, I have written to the GitLab mailing-list about this problem but did not get any answer. Moreover, last time I asked something similar on ServerFault, I have been advised to post on StackOverflow instead... hence this question :)</p>