From b325efe6011bbac81ff605c9fd4ffe77b18be948 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 8 Feb 2012 07:09:09 +0530 Subject: [PATCH] added an "nagp" issue found by EspadaV8 on the #gitolite channel --- doc/nagp.mkd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/nagp.mkd b/doc/nagp.mkd index 36fa846..bb9e652 100644 --- a/doc/nagp.mkd +++ b/doc/nagp.mkd @@ -41,6 +41,21 @@ Surprised? It is so common that it has [its own document][auth] to tell you why it is *not* a gitolite problem, while [another one][sts] tries to help you anyway! +## PATH issues + +This is actually related to ssh. When you run commands over ssh, they run +*non*-interactively, and depend on what your shell is, etc., certain shell +startup files are not executed, so some environment variables may be different +than what you see when you log in interactively. + +Example: Redmine/Chiliproject using RVM and redmine git hosting can't run +post-receive hook. +[This](https://github.com/ericpaulbishop/redmine_git_hosting/issues/125) has +more info on this specific issue. + +It is also useful to remember that *gitolite does not fiddle with the PATH +except for adding the `GIT_PATH` variable if you defined it*. + ## git * first push to a new repo