0.09
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
A Ruby Language Server implementation
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

LanguageServer

[Alpha quality]

A Ruby Language Server implementation.

Installation

If you are using vscode, install ruby-lsc extension.

Docker

Simply you can pull from docker hub

$ docker pull mtsmfm/language_server-ruby

Ruby gem

Add this line to your application's Gemfile:

gem 'language_server'

And then execute:

$ bundle

Or install it yourself as:

$ gem install language_server

Usage

Currently, language_server-ruby supports only stdio to communicate.

Docker

$ docker run mtsmfm/language_server-ruby

Ruby gem

$ language_server-ruby

Development

Requirements

docker, docker-compose

https://docs.docker.com/engine/installation

Setup

$ git clone https://github.com/mtsmfm/language_server-ruby.git
$ cd language_server-ruby
$ docker-compose run app bin/setup

Run test

You can run test via m:

$ docker-compose run app bin/m
$ docker-compose run ruby-3-0 bin/m

Or run via guard:

$ docker-compose run app bin/guard
$ docker-compose run ruby-3-0 bin/m

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mtsmfm/language_server-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.