I am trying to install GitLab on a Debian Wheezy and experiencing an issue I don't understand.
Following the install guide for version 5.0:
- step 1: was run as explained
- step 2: I used rvm (multi-user install) instead (ruby-1.9.3-p392)
- steps 3 to 5: were run as explained (MySQL chosen)
- step 6: everything works fine until the "Install Gems" section, where I get the following error:
/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
I run this as my normal user (in the sudo
and rvm
groups), and the git
user is not a sudo
er.
I think that the line sudo gem install bundler
, in step 2, does not grant the git
user to execute bundle properly, but I don't know how to fix this.
I probably did something wrong but cannot figure out what it is, as I tried to respect the standard instructions as close as possible.
Any clue about this? Thanks, I am losing hope...
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 :)
git
executebundle
? Where isbundle
installed? – VonC$ which bundle
, I get/usr/local/rvm/gems/ruby-1.9.3-p392/bin/bundle
. Thegit
user has been created with the--disabled-login
flag and thus I cannot login asgit
to runbundle
. When I do$ sudo -u git bundle
, I getsudo: unable to execute /usr/local/bin/bundle: No such file or directory
but my normal user can executebundle
even withoutsudo
ing it. Does this answer your question? :s Also, thanks for editing my post, didn't think of the<pre>
tag! – astorije/usr/local/rvm/gems/ruby-1.9.3-p392/bin
isn't in the path of git. You have various solutions for that: stackoverflow.com/a/257666/6309 or superuser.com/q/98686/141 – VonC