Skip to content

LSP fails to detect mise that is installed via apt into /usr/bin/mise #3531

Open
@jtannas

Description

@jtannas

Description

Ruby LSP Information

VS Code Version

1.100.2

Ruby LSP Extension Version

0.9.26

Ruby LSP Server Version

Unknown

Ruby LSP Add-ons

Ruby Version

Unknown

Ruby Version Manager

mise

Installed Extensions

Click to expand
  • biome (2.3.2)
  • change-case (1.0.0)
  • code-spell-checker (4.0.47)
  • copilot (1.323.0)
  • copilot-chat (0.27.2)
  • highlight-matching-tag (0.11.0)
  • monokai-extended (0.5.1)
  • prettier-vscode (11.0.0)
  • ruby-lsp (0.9.26)
  • sort-lines (1.12.0)
  • todo-tree (0.0.226)
  • vscode-eslint (3.0.10)
  • vscode-fileutils (3.10.3)
  • vscode-github-actions (0.27.1)
  • vscode-icons (12.13.0)
  • vscode-tailwindcss (0.14.19)
  • vsliveshare (1.0.5948)

Ruby LSP Settings

Click to expand
Workspace
{}
User
{
  "enabledFeatures": {
    "codeActions": true,
    "diagnostics": true,
    "documentHighlights": true,
    "documentLink": true,
    "documentSymbols": true,
    "foldingRanges": true,
    "formatting": true,
    "hover": true,
    "inlayHint": true,
    "onTypeFormatting": true,
    "selectionRanges": true,
    "semanticHighlighting": true,
    "completion": true,
    "codeLens": true,
    "definition": true,
    "workspaceSymbol": true,
    "signatureHelp": true,
    "typeHierarchy": true
  },
  "featuresConfiguration": {},
  "addonSettings": {},
  "rubyVersionManager": {
    "identifier": "mise"
  },
  "customRubyCommand": "",
  "formatter": "auto",
  "linters": null,
  "bundleGemfile": "",
  "testTimeout": 30,
  "branch": "",
  "pullDiagnosticsOn": "both",
  "useBundlerCompose": false,
  "bypassTypechecker": false,
  "rubyExecutablePath": "",
  "indexing": {},
  "erbSupport": true,
  "featureFlags": {},
  "sigOpacityLevel": "1"
}

Reproduction steps

  1. Configure VSCode to use mise as the version manager
  2. Install mise using apt
  3. Run $ which mise to confirm the install location is in /usr/bin/mise
$ which mise
/usr/bin/mise
  1. Start VSCode. The following error message appears
    Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions