Project

General

Profile

Issue with browsing git repositories

Added by Adam Romer almost 15 years ago

I just setup Redmine 0.8.3.stable today on a shared Site5 hosting account. I'm attempting to browse a local git repository and regardless of what I try to do I can't seem to get it to display right. I've seen other people's setups where they're able to see the entire directory tree, but I only get commits, and no files.

I installed the complete zip, so all the correct versioned ruby stuff is in the vendor folder for Redmine.
I'm running Git 1.6.2.3 from my local bin directory, and the server has an older version (1.5.2.1 i think) installed.

Any suggestions on what I'm doing wrong, or what I can do to fix it would be appreciated.

Thanks in advance.


Replies (1)

RE: Issue with browsing git repositories - Added by Adam Romer almost 15 years ago

I finally managed to figure it out. It was an issue with the dual versions of git. While I had changed $PATH in my .bash_profile and I was using my local install of git 1.6.2.3 redmine was still using the outdated server version which I'm not able to upgrade. I was able to resolve this by adding ENV['PATH'] = "/home/<user>/bin/:#{ENV['PATH']}" so that redmine was using the correct version as well.

    (1-1/1)