Ruby-LSP VSCode extension not activating
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 2k
- Forks
- 281
- Avg merge
- 2h 14m
- Merged PRs (30d)
- 6
Description
Operating System
Ubuntu 22.04.3 LTS
Ruby version
3.2.2
Project has a bundle
- Has bundle
Ruby version manager being used
rbenv
Description
Ruby-LSP extension for VS Code does not activate.
Checking the extension's Runtime Status shows "Not yet activated."
There is no text/information in Output when selecting the Ruby-LSP channel.
There are no initialization errors, nor any other kind of errors are displayed.
Steps to reproduce:
- Install rbenv and ruby as per these instructions found here: https://collectionbuilder.github.io/cb-docs/docs/software/ruby_linux/
- Verify ruby is installed and recognized at command line:
$ ruby -v
- Verify ruby is installed and recognized at command line:
- Follow instructions at https://marketplace.visualstudio.com/items?itemName=Shopify.ruby-lsp
- Open Ruby file in VS Code.
I also tried restarting VS Code, disabling/enabling Ruby-LSP, uninstalling/reinstalling VS Code.
Ruby Version Manager:
rbenv 1.2.0-80-gd6bb1c6
VS Code Info:
Version: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.2.0-35-generic snap
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the activation failure with Ubuntu 22.04, Ruby 3.2.2, rbenv, and VS Code 1.83.1, then inspect the Ruby-LSP runtime status and Output channel. Done means the extension activates when a Ruby file is opened and reports useful initialization diagnostics when activation fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100