You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using GVM a system golang doesn't have to be installed. The PATH for go changes depending on which version of golang your using.
Since /usr/bin/go does not exist vim-go is unable to pull in the dependencies automatically.
echo$GOPATH
/home/bstromski/.gvm/pkgsets/go1.7/global
echo$GOROOT
/home/bstromski/.gvm/gos/go1.7
which go
/home/bstromski/.gvm/gos/go1.7/bin/go
# From vim when running
:GoInstallBinaries
vim-go: go executable not found.
This is resolved by creating a symlink for /usr/bin/go to the go binary, but not a real fix since this changes when go version changes and symlink breaks. I can put some logic into the gvm code to fix, but i feel like the vim path should just work.
I tried this on a fresh pathogen install without janus and it works as expected btw.
The text was updated successfully, but these errors were encountered:
When using GVM a system golang doesn't have to be installed. The PATH for go changes depending on which version of golang your using.
Since /usr/bin/go does not exist vim-go is unable to pull in the dependencies automatically.
This is resolved by creating a symlink for /usr/bin/go to the go binary, but not a real fix since this changes when go version changes and symlink breaks. I can put some logic into the gvm code to fix, but i feel like the vim path should just work.
I tried this on a fresh pathogen install without janus and it works as expected btw.
The text was updated successfully, but these errors were encountered: