ruby icon indicating copy to clipboard operation
ruby copied to clipboard

Sorbet initialization error - two input directories.

Open skatkov opened this issue 8 months ago • 2 comments

While opening rspec-rails project, I saw a follow sorbet error

Language server error: sorbet

initializing server sorbet, id 2
-- stderr--
Sorbet's language server requires a single input directory. However, 2 are configured: [/home/sk/.local/share/mise/installs/ruby/3.4.4/lib/ruby/gems/3.4.0/gems/prism-1.4.0/rbi, .]

I tried other projects (sorry, private) and haven't seen this error anywhere else.

skatkov avatar Jun 22 '25 21:06 skatkov

I think this is mostly an issue with the Sorbet LSP. I also see this behavior when starting the LSP in VS Code.

Image

marcoroth avatar Jun 27 '25 21:06 marcoroth

I think we can close this issue because it relates to an upstream problem. I suggest opening an issue on the sorbet issue tracker. Thanks!

vitallium avatar Jul 05 '25 07:07 vitallium