Skip to content

bug: Failed install of Ruby shows as installed when using asdf list #1910

@KieranP

Description

@KieranP

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 running asdf 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions