Skip to content

Commit

Permalink
FIX: make sure to specify sorbet-runtime version
Browse files Browse the repository at this point in the history
older versions, e.g 0.5.5510 result in
"Server initialization failed" error

Refs: https://github.com/Shopify/vscode-ruby-lsp/issues/778
  • Loading branch information
rreckonerr committed Sep 19, 2023
1 parent 59b1999 commit f9e91ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PATH
specs:
ruby-lsp (0.11.0)
language_server-protocol (~> 3.17.0)
sorbet-runtime
sorbet-runtime (>= 0.5.9204)
syntax_tree (>= 6.1.1, < 7)
yarp (>= 0.12, < 0.13)

Expand Down
2 changes: 1 addition & 1 deletion ruby-lsp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

s.add_dependency("language_server-protocol", "~> 3.17.0")
s.add_dependency("sorbet-runtime")
s.add_dependency("sorbet-runtime", ">= 0.5.9204")
s.add_dependency("syntax_tree", ">= 6.1.1", "< 7")
s.add_dependency("yarp", ">= 0.12", "< 0.13")

Expand Down

0 comments on commit f9e91ec

Please sign in to comment.