gitlabhq/gitlabhq — pull request #3804 by b4nd0ler0 (2013-05-02 11:45:28+00:00)
Title: Patch 4 - sudo bundle exec

Add "cd /home/git/gitlab" prior to execution of bundle exec commands.
Prepend "sudo -u git -H" to backup bundle exec commands.