-
Notifications
You must be signed in to change notification settings - Fork 251
rbenv not working properly #3270
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingvscodeThis pull request should be included in the VS Code extension's release notesThis pull request should be included in the VS Code extension's release notes
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingvscodeThis pull request should be included in the VS Code extension's release notesThis pull request should be included in the VS Code extension's release notes
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
rbenv version is not respected/loaded properly. Details below.
Ruby LSP Information
VS Code Version
1.97.2
Ruby LSP Extension Version
0.9.7
Ruby LSP Server Version
Unknown
Ruby LSP Add-ons
Ruby Version
3.3.5
Ruby Version Manager
rbenv
Installed Extensions
Click to expand
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": "rbenv" }, "customRubyCommand": "", "formatter": "auto", "linters": null, "bundleGemfile": "", "testTimeout": 30, "branch": "", "pullDiagnosticsOn": "both", "useBundlerCompose": false, "bypassTypechecker": false, "rubyExecutablePath": "", "indexing": {}, "erbSupport": true, "featureFlags": {}, "sigOpacityLevel": "1" }Reproduction steps
Code snippet or error message
Seems ruby version is set by
RBENV_VERSIONand not.ruby-version.I set up
rbenvi.profilewhich is sourced by.zshrclike this:eval "$(rbenv init -)".Everything is working in my normal terminal.