Skip to content
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

gvm use doesn't seem to work anymore with aliases #448

Open
carlosonunez opened this issue Sep 27, 2023 · 1 comment
Open

gvm use doesn't seem to work anymore with aliases #448

carlosonunez opened this issue Sep 27, 2023 · 1 comment

Comments

@carlosonunez
Copy link

This works:

$: gvm install go1.20 --binary && gvm use go1.20
Installing go1.20 from binary source
Now using version go1.20

...but this does not work

$: gvm install go1.20 --name=test-go1.20 --binary && gvm use test-go1.20
Installing test-go1.20 from binary source
ERROR: Failed to use installed version

...even though it used to work.

$: bash -s -- 19365a6 < <(curl -sSL https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
$: source $HOME/.gvm/scripts/gvm                                                                                                                                                              
$: gvm install go1.20 --name=test-go1.20 && gvm use test-go1.20
Installing go1.20 as test-go1.20...
 * Compiling...
test-go1.20 successfully installed!
Now using version test-go1.20
@carlosonunez carlosonunez changed the title gvm use doesn't seem to work anymore gvm use doesn't seem to work anymore with aliases Sep 27, 2023
carlosonunez added a commit to carlosonunez/bash-dotfiles that referenced this issue Sep 27, 2023
@ankitcharolia
Copy link

@carlosonunez kindly try this out. I am using this goenv: https://github.com/ankitcharolia/goenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants