goenv
goenv copied to clipboard
Cache install doesn't seem to work
➜ .goenv git:(master) ls cache
go1.12.4.darwin-amd64.tar.gz
➜ .goenv git:(master) goenv install 1.12.4
Downloading go1.12.4.darwin-amd64.tar.gz...
-> https://dl.google.com/go/go1.12.4.darwin-amd64.tar.gz
^C%
it still needs to download the archive file
gone version: 2.00beta9
it seems like that the $package_filename parameter passed to reuse_existing_tarball function is wrong
what we expected is go1.12.4.darwin-amd64.tar.gz, but actually it is: "Go Darwin 64bit 1.12.4.tar.gz"
ps: correct the actual value of $package_filename
@JackLiar Thank you for your findings!
I'll try to take a look at it tomorrow.
I've found the problem source
the first parameter passed to install_xxx_64bit function is wrong, all we need to do is to replace all these parameters in all the plugins/go-build/share/go-build/version file
for example:
"Go Darwin 64bit 1.12.4" --> "go1.12.4.darwin-amd64"
hope u would fix it soon :)