-
Notifications
You must be signed in to change notification settings - Fork 831
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
bug: Failed install of Ruby shows as installed when using asdf list
#1910
Comments
I had a similar issue yesterday with java when upgrading to asdf |
@jpgomezt The issue I reported was after a complete refresh (uninstalled all plugins and reinstalled). I forgot to |
I had the same issue when trying to install the latest Ruby with an old Ruby plugin. $ asdf install
Version not found
If this is a new Ruby version, you may need to update the plugin:
asdf plugin update ruby
failed to run install callback: exit status 1
$ asdf plugin update ruby
updated ruby to ref refs/heads/master
$ asdf install
version {version 3.4.1} of ruby is already installed
$ ls -l ~/.asdf/installs/ruby/3.4.1/
total 0
$ rmdir ~/.asdf/installs/ruby/3.4.1/
$ asdf install
Downloading ruby-build...
==> Downloading ruby-3.4.1.tar.gz...
... |
Hi everyone, you should not need to re-install all plugins in order to get them to work after the upgrade to v0.16.x. Make sure you run |
Describe the Bug
Try to compile Ruby with YJIT but without Rust being present. The compile fails. However, asdf shows ruby as being installed.
asdf list
shows the failed version as being available. And runningasdf install ruby 3.4.1
says "already installed" even though it wasn't, and the ruby binaries are missing.Steps to Reproduce
See above
Expected Behaviour
Should cleanup after failed install
Actual Behaviour
Leaves failed install folder, asdf thinks it is installed`
Environment
› asdf info OS: Darwin Kierans-MacBook-Pro.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:24 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6030 arm64 SHELL: zsh 5.9 (arm64-apple-darwin24.0) BASH VERSION: 3.2.57(1)-release ASDF VERSION: 0.16.1 ASDF INTERNAL VARIABLES: ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions ASDF_DATA_DIR=/Users/kieran/.asdf ASDF_CONFIG_FILE=/Users/kieran/.asdfrc ASDF INSTALLED PLUGINS: nodejs https://github.com/asdf-vm/asdf-nodejs.git 93bd217ba74f05080eebb7d8e1c146a385b01d7f ruby https://github.com/asdf-vm/asdf-ruby.git 98e32b9c38e146b164d651c96ccb6d5fa4c3af90 rust https://github.com/code-lever/asdf-rust.git 95acf4fe65df1de74fca502482b8f3ac5af73c05
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: