Closed justinclift closed 6 years ago
g3nd
executable was installed in /home/jc/go/bin
?
Thanks @leonsal. That was the root cause. I use a split GOPATH with GOBIN set to the second directory. eg:
$ echo $GOPATH
/home/jc/go:/home/jc/git_repos
$ echo $GOBIN
/home/jc/git_repos/bin
Mainly to make things easy for go development. With this approach, things auto-downloaded (eg go get) are placed in $HOME/go
, whereas code I'm working on is all in $HOME/git_repos
. Makes backing things up easier, and keeps clear separation.
After moving g3nd from $HOME/git_repos/bin
to $HOME/go/bin
, g3nd finds its data directory automatically. All good. :smile:
Compiled g3nd following the instructions, then attempted to run it (from my home dir). Failure, as it doesn't seem to know how to look for it's data directory:
When launching it from the source directory which go get places it in, things work fine:
Is this expected?