Skip to content

Commit 2f1c00e

Browse files
committed
Fix docs check
1 parent f84af89 commit 2f1c00e

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
bundler-cache: true
4444
cache-version: 7
4545

46-
# - name: Check if documentation is up to date
47-
# run: bundle exec rake ruby_lsp:check_docs
46+
- name: Check if documentation is up to date
47+
run: bundle exec rake ruby_lsp:check_docs
4848

4949
- name: Typecheck
5050
if: matrix.os != 'windows-latest'

lib/ruby_lsp/ruby_lsp_rails/runner_client.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ def initialize
1818
stdin, stdout, stderr, wait_thread = Open3.popen3(
1919
"bin/rails",
2020
"runner",
21-
"#{__dir__}/server_start.rb",
21+
"#{__dir__}/server.rb",
22+
"start",
2223
)
2324
@stdin = T.let(stdin, IO)
2425
@stdout = T.let(stdout, IO)

lib/ruby_lsp/ruby_lsp_rails/server.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ def start
8383
end
8484
end
8585
end
86+
87+
RubyLsp::Rails::Server.new.start if ARGV.first == "start"

lib/ruby_lsp/ruby_lsp_rails/server_start.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)