#161 ✓invalid
Lee Hambley

Enable configurable `git` command

Reported by Lee Hambley | May 20th, 2009 @ 11:11 PM

I'm in an enviroment where Git has been installed outside the usual path, and outside of Apache's path (which appears blank..suexec, or hardening, maybe?)

I need to be able to configure the git path, and would have expected this to be implemented.

I'm working on a patch, but I suck at debugging other people's code, so when I get into it, hopefully this will be a quick patch.

If anyone thinks this is a bad idea, or supports this notion, please +1 this ticket.

Comments and changes to this ticket

  • ronin-278 (at lighthouseapp)

    ronin-278 (at lighthouseapp) May 21st, 2009 @ 05:44 AM

    • Tag cleared.
    • State changed from “new” to “invalid”

    Really not something that should happen inside integrity. The best would be to set it on apache's path. If that's not possible, then maybe you can do this at the top of your config.ru:

    ENV["PATH"] = "/path/to/git/binaries:#{ENV["PATH"]}"
    

    Not sure it will work, but it's worth a shot :)

  • Lee Hambley

    Lee Hambley May 21st, 2009 @ 11:44 AM

    Thank you, you're absolutely right! That works perfectly.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Pages