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

bug: asdf latest ruby no longer returns the latest stable standard version #1904

Open
farski opened this issue Feb 6, 2025 · 6 comments · May be fixed by #1996
Open

bug: asdf latest ruby no longer returns the latest stable standard version #1904

farski opened this issue Feb 6, 2025 · 6 comments · May be fixed by #1996
Labels

Comments

@farski
Copy link

farski commented Feb 6, 2025

Describe the Bug

Previously, running something like asdf latest ruby would return the latest stable version of the standard flavor or Ruby. Now it seems to return the last item available in asdf list all ruby , which is unlikely what most people would expect.

Steps to Reproduce

Run asdf latest ruby

Expected Behaviour

Should return 3.4.1

Actual Behaviour

Returns truffleruby+graalvm-24.1.2

Environment

OS:
Darwin Canyon 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:06 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 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/farski/.asdf
ASDF_CONFIG_FILE=/Users/farski/Repositories/GitHub/farski/zsh.d/asdf/.asdfrc

ASDF INSTALLED PLUGINS:
nodejs    https://github.com/asdf-vm/asdf-nodejs.git 93bd217ba74f05080eebb7d8e1c146a385b01d7f
ruby      https://github.com/asdf-vm/asdf-ruby.git   98e32b9c38e146b164d651c96ccb6d5fa4c3af90

asdf plugins affected (if relevant)

ruby

@farski farski added the bug label Feb 6, 2025
@adonig
Copy link

adonig commented Feb 7, 2025

Same applies to the elixir plugin, see: asdf-vm/asdf-elixir#135

@ab
Copy link

ab commented Feb 7, 2025

Similar issue with python as well: asdf-community/asdf-python#191

@rkh
Copy link

rkh commented Feb 12, 2025

Any updates on this? What is a safe asdf release to downgrade to?

@Stratus3D
Copy link
Member

Thanks for the report @farski. I will trying to find the cause of this sometime this week.

@nacengineer
Copy link

nacengineer commented Feb 20, 2025

yeah can confirm this changed with the 0.16.0 release for all my plugins. It's definitely a regression error. Not sure what the fix is though. For the most part the 0.16.x asdf update has caused me nothing but grief. Of note is I think they rewrote 0.16 into Go so maybe this is a "how Go parses SemVer" error? 🤷🏻

@rkh
Copy link

rkh commented Feb 20, 2025

Probably shouldn't turn this into a complaints ticket, but can confirm that the upgrade did not go smoothly at all for me either.

@andrecloutier andrecloutier linked a pull request Feb 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants