Shopify / ruby-lsp

An opinionated language server for Ruby
https://shopify.github.io/ruby-lsp/
MIT License
1.62k stars 168 forks source link

Bump prism version #1906

Closed langalex closed 7 months ago

langalex commented 7 months ago

Prism 0.25 fixes an issue with its rbi files (Sorbet type definitions). Without this fix, ruby-lsp is unusable in projects using Sorbet.

ruby-lsp currently depends on prism (>= 0.22.0, < 0.25. Please change to < 0.26 or similar.

vinistock commented 7 months ago

Thanks for the report!

ruby-lsp is unusable in projects using Sorbet

Not sure how this is the case. We use Ruby LSP with Sorbet in all our projects. Is this more related to not using Tapioca?

Also, do you have ruby-lsp added to your Gemfile? It shouldn't be necessary to add it to the Gemfile since version v0.8.0.

Regardless, we always keep up to date with Prism updates, so we'll be updating soon.