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

Failed to activate asdf environment: Unexpected token / in JSON at position 0 #1990

Closed
ssnake opened this issue Apr 29, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ssnake
Copy link

ssnake commented Apr 29, 2024

Description

Hey people, it seems latest ruby-lsp v0.5.20 has problems to start:

Failed to activate asdf environment: Unexpected token / in JSON at position 0

My software set:

ruby 3.1.4p223
VSC 1.88.1
asdf v0.11.3-0adc6c1

Rolled back to ruby-lsp 0.50.19 and things started working again

@ssnake ssnake added the bug Something isn't working label Apr 29, 2024
@andyw8
Copy link
Contributor

andyw8 commented Apr 29, 2024

Hi @ssnake, in #1985 someone found that updating asdf solved this for them, could you try that please?

@ssnake
Copy link
Author

ssnake commented Apr 29, 2024

asdf update helped me. I updated asdf from v0.11.3 to v0.14.0.

Now asdf v0.14.0 and ruby-lsp v0.5.20 works perfectly. Thanks

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

No branches or pull requests

2 participants