Centos – Errors while trying to install gitolite

centosgitgitoliterepository

I'm trying to get up and running gitolite as the instructions said at this http://sitaramc.github.com/gitolite/qi.html but when I run the command:

[git@devserver gitolite]$ src/gitolite install -ln
FATAL: errors found before logfile could be created
FATAL: die  unknown gitolite sub-command

I get the errors above, what I'm doing wrong? I create the git user as:

useradd -d /data/gitrepos git

And then cd to /data/gitrepos and clone the gitolite repo with the following command:

git clone git://github.com/sitaramc/gitolite

Any advice? Cheers and thanks in advance

Best Answer

As mentioned in the sources of gitolite install:

Simplest use, if $HOME/bin exists and is in $PATH, is:

git clone git://github.com/sitaramc/gitolite
gitolite/install -ln

So make sure your $HOME/bin exists and is in $PATH.