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

ASDF fails to start when using legacy_version_file #2048

Closed
wjohnstondrip opened this issue May 14, 2024 · 0 comments · Fixed by #2006
Closed

ASDF fails to start when using legacy_version_file #2048

wjohnstondrip opened this issue May 14, 2024 · 0 comments · Fixed by #2006
Assignees
Labels
bug Something isn't working

Comments

@wjohnstondrip
Copy link

Description

Reproduction steps

  1. Add legacy_version_file = yes to your .asdfrc file.
  2. Add a .ruby-version file in your ruby project.
  3. Open VS Code with ruby-lsp.
  4. See the following error:
Screenshot 2024-05-14 at 3 43 34 PM

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:

Version: 1.89.1
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:14:32.757Z (1 wk ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Thank you so much for this awesome tool! I'll do my best to help debug however I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants