I'm trying to setup gitolite on my server which is a mac mini running os X leopard (non-server version). I believe I correctly installed gitolite using the root installation method detailed on https://github.com/sitaramc/gitolite/blob/pu/doc/1-INSTALL.mkd#_important_points_to_note . The only big difference is that my git user's home directory is set to an external drive connected to the mac mini, in my case /Volumes/Drobo/git . I'm getting stuck on the part where I try to clone gitolite-admin into my local machine's user directory (running os x lion).
I receive this error:
Cloning into gitolite-admin...
Can't exec "git": No such file or directory at /usr/local/bin/gl-auth-command line 192.
fatal: The remote end hung up unexpectedly
I have tried the things suggested at gitolite unable to exec git but they have not panned out.
running ssh git@serverAddress info
returns
hello latca, the gitolite version here is v2.0.3-28-g7c8c5a8
the gitolite config gives you the following access:
R W gitolite-admin
@R_ @W_ testing
Also suggested in the thread I've added .bashrc file into the git user's home directory on the server with a single line export PATH=/usr/local/bin:$PATH
and that has not worked either
line 192 from gl-auth-command is exec("git", "shell", "-c", "$verb $repo") unless $verb eq 'git-init';
I'm still a commandline neophyte so please let me know what other information you guys need to help diagnose the problems.
Much Thanks in Advance