We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The asdf current is not return correctly if some of specify versions are not installed, I have the following line in .tool-versions:
.tool-versions
ruby 2.7.8 2.6.10 system
I have installed 2.7.8 and haven't installed 2.6.10, and the ruby --version is correctly return
ruby --version
ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [arm64-darwin21]
but asdf current ruby return
asdf current ruby
ruby system Not installed. Run "asdf install ruby system"
at least it should show me 2.7.8 instead of system
ruby 3.2.2 2.5.4 system
2.7.8
OS: Darwin C02F90VJQ05R-ALEX 21.6.0 Darwin Kernel Version 21.6.0: Mon Apr 24 21:11:35 PDT 2023; root:xnu-8020.240.18.701.5~1/RELEASE_ARM64_T8101 arm64 SHELL: zsh 5.8.1 (x86_64-apple-darwin21.0) BASH VERSION: 3.2.57(1)-release ASDF VERSION: v0.13.1-0586b37 ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/Users/jiz4oh/.asdf ASDF_DIR=/Users/jiz4oh/.asdf ASDF_CONFIG_FILE=/Users/jiz4oh/.asdfrc ASDF INSTALLED PLUGINS: deno https://github.com/asdf-community/asdf-deno.git master 87442fe golang https://github.com/asdf-community/asdf-golang.git master 33b1f6d nodejs https://github.com/asdf-vm/asdf-nodejs.git master c9e5df4 python https://github.com/danhper/asdf-python.git master 8505457 ruby https://github.com/asdf-vm/asdf-ruby.git master b3d44de
No response
The text was updated successfully, but these errors were encountered:
Is this resolved by running asdf reshim ruby?
asdf reshim ruby
Sorry, something went wrong.
No. And I update the Steps to Reproduce that can easily reproduce
Steps to Reproduce
No branches or pull requests
Describe the Bug
The asdf current is not return correctly if some of specify versions are not installed, I have the following line in
.tool-versions
:I have installed 2.7.8 and haven't installed 2.6.10, and the
ruby --version
is correctly returnbut
asdf current ruby
returnat least it should show me 2.7.8 instead of system
Steps to Reproduce
.tool-versions
, likeruby 3.2.2 2.5.4 system
asdf current ruby
Expected Behaviour
2.7.8
Actual Behaviour
ruby system Not installed. Run "asdf install ruby system"
Environment
OS: Darwin C02F90VJQ05R-ALEX 21.6.0 Darwin Kernel Version 21.6.0: Mon Apr 24 21:11:35 PDT 2023; root:xnu-8020.240.18.701.5~1/RELEASE_ARM64_T8101 arm64 SHELL: zsh 5.8.1 (x86_64-apple-darwin21.0) BASH VERSION: 3.2.57(1)-release ASDF VERSION: v0.13.1-0586b37 ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/Users/jiz4oh/.asdf ASDF_DIR=/Users/jiz4oh/.asdf ASDF_CONFIG_FILE=/Users/jiz4oh/.asdfrc ASDF INSTALLED PLUGINS: deno https://github.com/asdf-community/asdf-deno.git master 87442fe golang https://github.com/asdf-community/asdf-golang.git master 33b1f6d nodejs https://github.com/asdf-vm/asdf-nodejs.git master c9e5df4 python https://github.com/danhper/asdf-python.git master 8505457 ruby https://github.com/asdf-vm/asdf-ruby.git master b3d44de
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: