-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
goenv from Homebrew only has Go 1.12beta1 #238
Comments
the same question, how to update |
you should update the goven version~
then try again
you will see the lastest version. this fix my issue. |
for me, this $ ls -la1
.
..
shims
versions |
btw: very similar to #123 |
Same issue. I think it's because of goenv version on homebrew is only 1.23.3, not 2.x
@syndbg How about update homebrew bottle/formula? |
I uninstalled goenv from homebrew, and reinstall from GitHub as INSTALL.md (Basic Installation)
And it works well as follows:
Maybe updating homebrew bottle/formula is the best solution. |
The formula definitely needs to be updated to reflect 2.x. I may take a whack at getting a PR going if I have time this week, but in the meantime running |
For reference for anyone who stumbles here, this issue duplicates #156 , which also duplicates the pinned issue #80
Per the above issues, this is not possible as a stable A third-party tap could be created for this in the meantime, however, as those are not restricted to |
Thanks for the detailed explaination! |
Unfortunately it's been a few years since a stable release per #80 etc, so I'm not sure if that will happen any time soon 😕 The best option for now seems to be Honestly thinking of creating my own tap to just hold random formulae like this 😅 (though one hosted by the author is probably optimal) |
- to handle multiple golang versions - basically same config as pyenv, nvm, etc - use `HEAD` for Brew b/c of go-nv/goenv#238 (comment)
- since `goenv` has not released a stable version in a few years, the `core` Formula is pretty out-of-date and missing many newer Go versions - since `core` doesn't accept non-stable tags, add this to a third-party tap that can do so (in this case, mine) - see also my comment go-nv/goenv#238 (comment) - diff https://github.com/Homebrew/homebrew-core/blob/8bad09e9fe5453f0daf74eef4825f49925f86bc6/Formula/goenv.rb# - changed `url` to use latest commit hash - updated `sha256` to match the archive's SHA - updated `bottle do` statement to match what I got locally (following https://github.com/Homebrew/brew/blob/master/docs/Bottles.md) - remove `unless build.head?` statement since this is `HEAD`
version 2.0.1 released just now; 2.0.0 is the latest version in brew. Hope this helps! |
Description:
Platform: macOS 12.4, Intel Core
Goenv: Version 1.23.3
Installed goenv from Homebrew, I think it must be pretty old or maybe I've messed something up, but I was unable to install the versions (1.14.5) that I was looking for.
Request:
It would be great if the README.md or some other documentation could be added or updated with a recommended installation procedure.
Logs:
Attaching console output here.
And listing the available outputs
The text was updated successfully, but these errors were encountered: