ericpaulbishop/redmine_git_hosting — Issue #130: run_git_as_git_user returns "eval: command not found"
Author: fabianonline
Created: 2011-12-08 08:54:32+00:00
State: open

Hi.

I've set up redmine_git_hosting according to the tutorial. Right now, everything's working, except for everything concerning run_git_as_git_user. Trying to run it returns:

$ /tmp/redmine_git_hosting/run_git_as_git_user "--version"
sudo: eval: command not found

By try and error I found that `sudo -u git -i eval "git --version"` leads to this error, but I couldn't find out why. Of course I could change the command to something like `sudo -u git git --version`, but I suppose there's some reasoning to use eval here... isn't it?