Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
    
Hi, @vonc $HOME/bin doesn't exists but /bin yes. So if the directory, $HOME/bin not exists, what will be the next step? Run the command gitolite setup -pk /path/to/YourName.pub? I'm a bit lost here! –  ReynierPM Jun 27 '12 at 12:49
    
@ReynierPM is it possible for you to create $HOME/bin? I always prefer a local installation to a system (owned by root) installation. –  VonC Jun 27 '12 at 13:49
    
yes it's possible in fact I create the $HOME/bin directory and now I've installed and thanks for your support. Now I need to learn git a bit ;) –  ReynierPM Jun 27 '12 at 17:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.