ruby
ruby copied to clipboard
Sorbet initialization error - two input directories.
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.
I think this is mostly an issue with the Sorbet LSP. I also see this behavior when starting the LSP in VS Code.
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!