openaustralia / yinyo

A wonderfully simple API driven service to reliably execute many long running scrapers in a super scaleable way
https://yinyo.io
Apache License 2.0
6 stars 1 forks source link

clay executable not found in $PATH #83

Closed jamezpolley closed 4 years ago

jamezpolley commented 4 years ago

Following installation instructions in the README, I've got the latest version of go installed on ubuntu disco. However, when I get to make test I get the following error:

2019/11/25 17:13:24 exec: "clay": executable file not found in $PATH
jamezpolley commented 4 years ago

https://github.com/golang/go/wiki/GOPATH suggests:

On OS X or Linux (bash), adding the following expression to PATH will add all $GOPATH/bin directories.

${GOPATH//://bin:}/bin

However, in my case, $GOPATH is not set. Reading go manpages led me to go env GOPATH which reports the current $GOPATH - or if that's not set, the default value that go uses.

Putting these together seems like it should let the makefile get a value that respects $GOPATH if that's already set;

mlandauer commented 4 years ago

Closing for the same reason as https://github.com/openaustralia/yinyo/pull/84#issuecomment-558919429