diff --git a/Gemfile b/Gemfile index 4d5e2a736..7613e8356 100644 --- a/Gemfile +++ b/Gemfile @@ -94,6 +94,9 @@ group :development do # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring', '~> 3.0' gem 'spring-commands-rspec' + + gem 'ruby-lsp', '~> 0.22.1' + gem 'ruby-lsp-rails', '~> 0.3.27' end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index 98b557c18..378ebde43 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -426,6 +426,7 @@ GEM ttfunk pg (1.5.9) popper_js (1.16.1) + prism (1.3.0) pry (0.15.0) coderay (~> 1.1) method_source (~> 1.0) @@ -492,6 +493,8 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) + rbs (3.8.1) + logger rdoc (6.10.0) psych (>= 4.0.0) recaptcha (5.18.0) @@ -567,6 +570,13 @@ GEM rubocop (~> 1.61) ruby-graphviz (1.2.5) rexml + ruby-lsp (0.22.1) + language_server-protocol (~> 3.17.0) + prism (>= 1.2, < 2.0) + rbs (>= 3, < 4) + sorbet-runtime (>= 0.5.10782) + ruby-lsp-rails (0.3.27) + ruby-lsp (>= 0.22.0, < 0.23.0) ruby-ole (1.2.13.1) ruby-progressbar (1.13.0) ruby-rc4 (0.1.5) @@ -603,6 +613,7 @@ GEM jwt (>= 1.5, < 3.0) multi_json (~> 1.10) simpleidn (0.2.3) + sorbet-runtime (0.5.11718) spreadsheet (1.3.3) bigdecimal ruby-ole @@ -730,6 +741,8 @@ DEPENDENCIES rubocop-packaging rubocop-rails rubocop-rspec + ruby-lsp (~> 0.22.1) + ruby-lsp-rails (~> 0.3.27) rubyzip sass-rails (>= 6) shoulda-matchers