Add legacy_version_file = yes to your .asdfrc file.
Add a .ruby-version file in your ruby project.
Open VS Code with ruby-lsp.
See the following error:
If you switch to .tool-versions from .ruby-version, everything starts correctly.
I'm using macOS 14.4.1 on an M1 MacBook Pro with ASDF v0.14.0. I've seen this issue with a all versions of Ruby, but the particular app I just tested is Ruby 3.2.2.
Description
Reproduction steps
legacy_version_file = yes
to your.asdfrc
file..ruby-version
file in your ruby project.If you switch to
.tool-versions
from.ruby-version
, everything starts correctly.I'm using macOS 14.4.1 on an M1 MacBook Pro with ASDF v0.14.0. I've seen this issue with a all versions of Ruby, but the particular app I just tested is Ruby 3.2.2.
VS Code info:
Thank you so much for this awesome tool! I'll do my best to help debug however I can.