ruby-lsc is a vscode extension to develop ruby application. ruby-lsc is using language_server-ruby.
The recommended way to boot a language server is using docker.
https://docs.docker.com/engine/installation
You can specify how to boot the language server like following:
{
"ruby-lsc.commandWithArgs": [
"docker-compose", "run", "--rm", "app"
]
}
This section explains how to start development vscode-ruby-lsc with language_server-ruby.
https://docs.docker.com/engine/installation
https://github.com/EugenMayer/docker-sync/wiki/1.-Installation
-
Setup vscode-ruby-lsc
$ git clone https://github.com/mtsmfm/vscode-ruby-lsc.git $ cd vscode-ruby-lsc $ docker-compose run app yarn install
-
Setup language_server-ruby
Follow https://github.com/mtsmfm/language_server-ruby#development
-
Open vscode-ruby-lsc via vscode
$ cd /path/to/vscode-ruby-lsc $ code .
-
Start debug (press F5)
-
Open language_server-ruby on the new vscode window (press Cmd-o)