File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,6 @@ group :development do
15
15
gem " ruby-lsp-rails"
16
16
end
17
17
```
18
- Some features rely on server introspection, and use a Rack server which is automatically mounted by using a Railtie.
19
-
20
- For applications with specialized routing requirements, such as custom sharding, this may not be compatible. It can
21
- be disabled with:
22
-
23
- ``` ruby
24
- # config/environments/development.rb
25
- Rails .application.configure do
26
- # ...
27
- config.ruby_lsp_rails.server = false
28
- # ...
29
- end
30
- ```
31
18
32
19
## Usage
33
20
@@ -53,7 +40,7 @@ See the [documentation](https://shopify.github.io/ruby-lsp-rails) for more in-de
53
40
## How It Works
54
41
55
42
When Ruby LSP Rails starts, it spawns a ` rails runner ` instance which runs
56
- ` [ server.rb](https://github.com/Shopify/ruby-lsp-rails/blob/main/lib/ruby_lsp/ruby_lsp_rails/server.rb)` .
43
+ [ ` server.rb ` ] ( https://github.com/Shopify/ruby-lsp-rails/blob/main/lib/ruby_lsp/ruby_lsp_rails/server.rb ) .
57
44
The addon communicates with this process over a pipe (i.e. ` stdin ` and ` stdout ` ) to fetch runtime information about the application.
58
45
59
46
When extension is stopped (e.g. by quitting the editor), the server instance is shut down.
You can’t perform that action at this time.
0 commit comments