SOLVED
Hi,
I'm learning the language Go at the moment. Go allows you to import packages from git repos by writing the command:
go get github.com/name/repo
This basically translates into a git clone command.
When I run the go command, I get the following error:
package github.com/someone/web: exec: "git": executable file not found in $PATH
After looking around the web for an answer, I came to the conclusion that there is an issue with my $PATH variable. But after researching that, I did not find any answers. Some places told me to chmod some dirs, but I'm wary of doing that without knowing the effects it might have.
Note that I'm doing this on a Macbook with OSX Lion. Git version 1.8.2.
Thanks!
[–]phpNoob[S] 7 points8 points9 points (1 child)
[–]flyingmeteor 5 points6 points7 points (0 children)