Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run bundle install cannot be clicked #3001

Open
ShalokShalom opened this issue Jan 2, 2025 · 4 comments
Open

Run bundle install cannot be clicked #3001

ShalokShalom opened this issue Jan 2, 2025 · 4 comments
Labels
bug Something isn't working vscode This pull request should be included in the VS Code extension's release notes

Comments

@ShalokShalom
Copy link

Description

Ruby LSP Information

Ruby LSP Information

VS Code Version

1.96.2

Ruby LSP Extension Version

0.8.16

Ruby LSP Server Version

Unknown

Ruby LSP Addons

Ruby Version

3.3.5

Ruby Version Manager

none

Installed Extensions

Click to expand
  • best-themes-redefined (0.4.6)
  • catppuccin-vsc (3.16.0)
  • copilot (1.254.0)
  • copilot-chat (0.23.2)
  • disableligatures (0.0.10)
  • glamorous-dracula (1.0.5)
  • lua (3.13.5)
  • night-owl (2.1.1)
  • nord-visual-studio-code (0.19.0)
  • ruby-extensions-pack (0.1.12)
  • ruby-lsp (0.8.16)
  • sorbet-vscode-extension (0.3.37)
  • vscode-fish (1.0.38)
  • vshaxe (2.33.0)

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": "auto"
  },
  "customRubyCommand": "",
  "formatter": "auto",
  "linters": null,
  "bundleGemfile": "",
  "testTimeout": 30,
  "branch": "",
  "pullDiagnosticsOn": "both",
  "useBundlerCompose": false,
  "bypassTypechecker": false,
  "rubyExecutablePath": "",
  "indexing": {},
  "erbSupport": true,
  "featureFlags": {}
}

Reproduction steps

Start the Ruby LSP and VSCode with just a blank new file. I have the extension installed, but it seems like Ruby LSP itself is not bundled with it for some reason.

The error window that shows up, offers three links: Although only the entire window is clickable, the individual links are not. Linux

Image

@ShalokShalom ShalokShalom added bug Something isn't working vscode This pull request should be included in the VS Code extension's release notes labels Jan 2, 2025
@adam12
Copy link
Contributor

adam12 commented Jan 3, 2025

Ruby Version Manager
none

Does gem install ruby-lsp from the command line work without sudo?

@ShalokShalom
Copy link
Author

Yep, that works fine.

@vinistock
Copy link
Member

Thank you for the bug report! I wonder if you might have found a bug in VS Code itself. All we do on our side is use Markdown for the dialog's content, which should be allowed. Clicking those links works fine on MacOS.

Is there a specific flavour of Linux you're using? Is this regular VS Code or some of the many forks that showed up recently? It would be nice to understand if other people experience the same issue on different platforms. And I'd suggest opening an issue on VS Code, it could be a recent bug that they are unaware about.

@ShalokShalom
Copy link
Author

Good question. I use Arch, and it builds the open source repo from VSCode from scratch.

So not one of the official binaries, and also not a lot of changes.
You can see the build script here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

No branches or pull requests

3 participants