
ruby-lsp
Ruby language server (Shopify's ruby-lsp) for code intelligence
- version
- 1.0.0
- GitHub stars
- 38
Install
/plugin install ruby-lsp@claude-ruby-marketplaceRun it inside Claude Code after adding the marketplace with /plugin marketplace add hoblin/claude-ruby-marketplace.
Contents
Discovered from sourceAgents 1
ruby-lsp
Note: LSP plugins are currently broken in Claude Code - the LSP server registration function is not implemented. Last working version is 2.0.67. See Issue #13952 for status and workarounds.
Ruby language server for Claude Code, providing code intelligence features like go-to-definition, find references, hover documentation, and diagnostics.
Uses Shopify's ruby-lsp - the modern Ruby language server.
Supported Extensions
.rb, .rake, .gemspec, .ru, .erb
Features
- Go-to-definition
- Find references
- Hover documentation
- Code completion
- Diagnostics (syntax errors, linting via RuboCop)
- Document symbols
- Formatting (via RuboCop)
Installation
The ruby-lsp gem must be installed and available in your PATH.
Via Bundler (recommended for projects)
Add to your Gemfile:
group :development do
gem 'ruby-lsp'
end
Then run:
bundle install
Global installation
gem install ruby-lsp
Via mise
mise use ruby@3.4
gem install ruby-lsp
Verification
Check that ruby-lsp is available:
which ruby-lsp
ruby-lsp --version
More Information
Sponsors
Details
- Marketplace
- hoblin/claude-ruby-marketplace
- Source
- plugins/ruby-lsp
- Category
- Development