I am using gitolite as git server. It was working fine earlier . but somehow now if i try to fetch/pull/push its throwing error “no rc file found”
no rc file found
Compilation failed in require at /home/git/bin/gl-auth-command line 43.
BEGIN failed–compilation aborted at /home/git/bin/gl-auth-command line 43.
fatal: The remote end hung up unexpectedly
How can i fix this ??
“no rc” found means gitolite doesn’t found your gitolite.rc file anymore.
It looks by default in:
So checkout your
HOME(and the actual value of the environment variableHOME) or/etc/gitolite/gitolite.rcif you did a “root installation”.If that file has somehow disappeared, then you need to run the setup again:
See gitolite installation for the various installation method.
See my own script for an example of a gitolite automatic installation.