gvm
gvm copied to clipboard
gvm use system setting GOROOT incorrectly
Hello!
gvm use system sets GOROOT incorrectly (enclosed in single quotes).
$ go version
go version go1.23.6 linux/amd64
$ which go
/usr/bin/go
$ gvm use go1.24
Now using version go1.24
$ go version
go version go1.24.0 linux/amd64
$ gvm use system
Now using version system
$ echo $GOROOT
'/usr/lib/go-1.23'
$ go version
go: cannot find GOROOT directory: '/usr/lib/go-1.23'
Using latest version of gvm on Ubuntu 24.04 / Bash.
There are no go-related things in my bashrc, only sourceing of gvm.