Skip to content

[BUG] ruby-lsp can't install dependencies #3644

@atimofeev

Description

@atimofeev

Plugin

nvim-lspconfig

Nixpkgs Release

unstable

Home Manager Release

None

I have read the FAQ

  • I have read the FAQ and my bug is not listed there.

Description

ruby-lsp is missing dependencies and fails to install them during the launch due to read-only nature of /nix/store.

What is the proper way of using this language server?

> ruby-lsp

...

Resolving dependencies...
The following gems are missing
 * ruby-lsp (0.26.1)
 * debug (1.11.0)
 * language_server-protocol (3.17.0.5)
 * prism (1.4.0)
 * rbs (3.9.4)
 * irb (1.15.2)
 * reline (0.6.2)
 * logger (1.7.0)
 * pp (0.6.2)
 * rdoc (6.14.2)
 * io-console (0.8.1)
 * erb (5.0.2)
 * psych (5.2.6)
 * date (3.4.1)
 * stringio (3.1.7)

Minimal, Reproducible Example (MRE)

plugins.lsp.servers.ruby_lsp.enable = true;

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