Wednesday, November 2, 2011

gitk on MAC

I had trouble getting gitk to work on my mac. It did not do anything and did not throw an error as well. After reading through some forums I found that the PATH variable is the culprit. In my .profile ( or in .bashrc), wherever you set PATH variable I had set it the following way:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH

I modified it to the following:


export PATH=$PATH:/opt/local/bin:/opt/local/sbin

and everything works fine now. Hopefully someone with similar issues will land up on this page.

No comments: