I installed codiad and CodeGit on FreeBSD running nginx and php56. I followed the guide as best as I could. I have expect present and my www user can run it (from shell). I set the correct path in scripts/expect.sh. But I still get this error message whenever I try to git clone something:
Please install shell program!
When I create a new git project, I don't get an error message, but an empty project without any apparent git integration present.
Any idea as to what I might be doing wrong?
Follow up:
I looked into this and I managed to break it down to two issues:
The env path variable was set improperly. Setting it manually in plugins/Codiad-CodeGit-master/config.php did the trick for me:
The git config user.name routine threw some error which CodeGit didn't present me. This can be fixed by patching the respective line in the setGitSettings function within class.git.php:
Hi,
I installed codiad and CodeGit on FreeBSD running nginx and php56. I followed the guide as best as I could. I have expect present and my www user can run it (from shell). I set the correct path in
scripts/expect.sh
. But I still get this error message whenever I try to git clone something:Please install shell program!
When I create a new git project, I don't get an error message, but an empty project without any apparent git integration present.
Any idea as to what I might be doing wrong?
Follow up:
I looked into this and I managed to break it down to two issues:
plugins/Codiad-CodeGit-master/config.php
did the trick for me:class.git.php
: