File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
lib/ruby_lsp/ruby_lsp_rails Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ def initialize
29
29
def activate ( global_state , message_queue )
30
30
@global_state = T . let ( global_state , T . nilable ( RubyLsp ::GlobalState ) )
31
31
$stderr. puts ( "Activating Ruby LSP Rails addon v#{ VERSION } " )
32
- # Start booting the real client in a background thread. Until this completes, the client will be a NullClient
33
- runner_thread = Thread . new { @client = RunnerClient . create_client }
34
- runner_thread . join # if ENV["RAILS_ENV"] == "test"
32
+ @client = RunnerClient . create_client
35
33
end
36
34
37
35
sig { override . void }
Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ def initialize
74
74
75
75
$stderr. puts ( "Finished booting Ruby LSP Rails server" )
76
76
77
- unless ActionDispatch ::Routing ::Mapper . route_source_locations
78
- $stderr. puts ( "Warning: `route_source_locations` is not enabled in the Rails application. Some features will be unavailable." )
79
- end
80
-
81
77
unless ENV [ "RAILS_ENV" ] == "test"
82
78
at_exit do
83
79
if @wait_thread . alive?
You can’t perform that action at this time.
0 commit comments