-
-
Notifications
You must be signed in to change notification settings - Fork 10
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: No preset version installed for command solargraph #37
Comments
@chemzqm any recommendations I should try to troubleshoot or give more info? Here's a screenshot of what I get |
No idea, should be problem with your ruby environment |
Thanks. I'm sure it's my Ruby env. Once I find something helpful I'll report here to help others and future me :) |
Maybe try |
for me, it was mismatch solargraph version. try |
If you put More info to corroborate what @hanh090 said: It seems like
So with the shim above, it would work fine on Ruby 2.7.2 via asdf but not on another Ruby version. If I |
I had an issue with my Ruby installation using asdf-ruby. So I deleted that installation (Ruby 2.5.1) and reinstalled it.
I also uninstalled all Solargraph gems just incase they were pointing to an old Ruby installation path, and did another
gem install solargraph
solargraph -v
or opening a Ruby file in Vim throws an errorI can confirm that the ruby version is installed.
I am using coc-solargraph and tried setting
solargraph.commandPath
to/Users/kaka/.asdf/shims/solargraph
but it didn't work.I have other Ruby versions (using asdf as well) and their Solargraphs seem to work well
The text was updated successfully, but these errors were encountered: