Set up Ruby LSP for Jekyll

Hey folks! I’ve installed Ruby Solargraph extension to get Ruby intellisense while editing code files and configured it like this in ~/.config/Code/User/settings.json:

{
    "workbench.colorTheme": "JetBrains Rider New UI Lighter",
    "terminal.integrated.defaultProfile.linux": "Nushell",
    "terminal.integrated.env.linux": {
        "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/emilygraceseville7cfg/.cargo/bin"
    },
    "chat.disableAIFeatures": true,
    "nu-lint.executablePath": "/home/emilygraceseville7cfg/.cargo/bin/nu-lint",
    "[yaml]": {
        "editor.defaultFormatter": "redhat.vscode-yaml"
    },
    "nuDap.nushellPath": "nu --dap",
    "solargraph.autoformat": true,
    "solargraph.commandPath": "",
    "solargraph.diagnostics": true,
    "solargraph.formatting": true,
    "solargraph.useBundler": true,
    "solargraph.bundlerPath": "/home/emilygraceseville7cfg/gems/bin/bundle"
}

I installed solagraph BTW itself via gem install solargraph. So I don’t get why it doesn’t work at the end: Solargraph gem not found. Run gem install solargraph or update your Gemfile..

OS: Ubuntu 26.04.1 LTS
VS Code:

Version: 1.142.0
Commit: 6d62b1d5dace93a33b3a6d3eca1317bd5e15bcb1
Date: 2026-10-15T03:02:17Z
Electron: 43.7.7
ElectronBuildId: 15553055
Chromium: 150.0.7871.250
Node.js: 24.21.0
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.95-0.unstable.r38345923974.g3754b70
@github/copilot-sdk: 1.0.19.38345923974.g3754b70
OS: Linux x64 7.0.0-38-generic snap

Nushell config at /home/emilygraceseville7cfg/.config/nushell/config.nu:

$env.config.buffer_editor = "code"
$env.PATH ++= ([$env.HOME .cargo bin] | path join) |
    append ([$env.HOME .local bin] | path join) |
    append ([$env.HOME gems bin] | path join)
$env.GEM_HOME = ([$env.HOME gems] | path join)

P.S. Can someone add instructions for beginners how to setup intellisense for Ruby when working on Jekyll projects? I have no Ruby background to fix issues by myself.