# Shopify/ruby-lsp

An opinionated language server for Ruby

Repository: https://github.com/Shopify/ruby-lsp
Canonical: https://ross.abutalabs.com/products/ruby-lsp
Homepage: https://shopify.github.io/ruby-lsp/
Language: Ruby
License: MIT
License Family: permissive
Topics: lsp, ruby, lsp-server, vscode-extension
Last push: 2026-08-25T17:00:36+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 1650, "days_push": 8, "days_rel": 13, "gap_med": 2, "n_releases_24m": 114}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2031, forks 274 (observed 2026-08-28T04:06:07.272340+00:00)

## What it is
Ruby LSP is an opinionated implementation of the Language Server Protocol for Ruby, maintained by Shopify to provide rich editor features like completion, go-to-definition, diagnostics, formatting, and test integration. It ships as a gem usable with any LSP-compatible editor and as a VS Code extension with extra features.

## Use cases
- add autocomplete and go-to-definition for Ruby in my editor
- set up a language server for Ruby in Neovim or Emacs
- format and lint Ruby code on save
- run and debug Ruby tests from the editor
- get inline hints and semantic highlighting for Ruby
- rename symbols and find references across a Ruby project
- get ERB and Rails support in VS Code

## When to choose
- you write Ruby and want a modern, actively maintained LSP with batteries-included features
- you use VS Code, Neovim, Emacs, Sublime, or Zed and want consistent Ruby tooling
- you want test integration, indexing, and Rails-aware features out of the box

## When to avoid
- you need a highly configurable, non-opinionated language server with pluggable backends
- your project depends on a legacy Ruby version unsupported by the tool
- you prefer Solargraph or another LSP you already have configured

## Facets
- artifact type: library
- maturity: active
- function: editor, developer-tools, documentation, testing
- domain: developer-tools, text-editors, programming-languages
- platform: editor-plugin, cross-platform
- tags: lsp, language-server, ruby, vscode-extension, code-intelligence, editor-integration, vscode

## Member repositories
- Shopify/ruby-lsp (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:07.272340+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:59:31.410347+00:00, confidence not recorded.
  - readme: https://github.com/Shopify/ruby-lsp (fetched 2026-08-28T04:06:07.272340+00:00, sha ad1adb51dc96)
  - homepage: https://shopify.github.io/ruby-lsp/ (fetched 2026-08-29T10:39:15.513635+00:00, sha 9ee69e7e9dda)
- Data as of 2026-08-30T08:39:29.467469+00:00.
