Closed athrunsun closed 6 years ago
The latest versions of the gem and extension use the language server protocol over a socket transport instead of the old web server. I recommend upgrading to gem version 0.22.0.
@castwide Thanks for the suggestion, I upgraded solargraph gem and it works.
BTW, do I have to specify absolute path for ruby & solargraph related configurations, like /home/xxx/.rbenv/shims/ruby
? I tried ~/.rbenv/shims/ruby
and $HOME/.rbenv/shims/ruby
but neither of them works.
Yes, it should typically be an absolute path if you need to specify it.
@castwide OK, got it.
Error message:
Screenshot:
What is
socket
refering to here?I got no error when I manually start language server with
solargraph server
on the command line.