SCM not in path fails silently
- Ruby version 1.8.6 (universal-darwin9.0)
- Rails version 2.1.0
- Mac OS X 10.5.4
- MySQL 5.0.67
- Litespeed 3.3.17
- SCM is Git
When hosted with Litespeed, browsing the repository does not show files and errors are encountered when viewing changes to files. When hosted with Webrick, the repository module works properly.
I've isolated the issue to the shellout method. The git executable is not present in the PATH environment variable. Mine is located at '/usr/local/git/bin'. Added a line to display the path in shellout and it shows '/bin:/usr/bin'.
I fixed the issue by manually specifying the full path to Git, but I'd prefer to modify the PATH variable to ease upgrades.
How can I set the PATH variable to include by git bin directory?