goenv
goenv copied to clipboard
go-build: definition not found: 1.13.6 , when trying to install goenv install 1.13.6
goenv install --list shows 1.12beta1 as the last go version available to install in goenv
How do i install go version >= 1.13.x in goenv ?
+1
+1
There are workarounds for this here if you used homebrew: https://github.com/syndbg/goenv/issues/80
brew install jq
if [ -n "$(brew info --json goenv | jq -r '.[0].installed[] | select(.version | test("^HEAD-") | not)')" ]; then
brew uninstall goenv
fi
brew install --HEAD goenv
Out of curiosity, why is this repository no longer maintaining tagged releases? While the above work around is not difficult, it is not generally how homebrew users upgrade thier packages.
If homebrew is not longer intended to be a supported delivery mechanism that is fine too but providing instructions on how to install using homebrew and not supporting any version of Go that has not stopped receiving security updates is a bit of a problem.
Agreed, I guess there is no maintainer for that updates homebrew tap. Anyways, is there a fix in goenv?
For upgrading I've done
brew upgrade --fetch-HEAD goenv
To hammer it home again, in case anyone runs into it...you need to do the --fetch-HEAD if you had already previously done the brew install --HEAD goenv, otherwise brew will use a local copy...thanks @yads
I ran into this today. It was very unexpected that this would be a problem.
Can someone ether fix this or change the readme page, to make it super clear that the installation is not default?