move description to hack
This commit is contained in:
parent
8bb5cd2c62
commit
4cb7f48e03
1 changed files with 6 additions and 10 deletions
|
@ -13,7 +13,7 @@
|
||||||
- [[#windows][Windows]]
|
- [[#windows][Windows]]
|
||||||
- [[#appendix][Appendix]]
|
- [[#appendix][Appendix]]
|
||||||
- [[#commands][Commands]]
|
- [[#commands][Commands]]
|
||||||
- [[#rails-server][Rails Server]]
|
- [[#hacks][Hacks]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
This module add Ruby and optional Ruby on Rails support to Emacs.
|
This module add Ruby and optional Ruby on Rails support to Emacs.
|
||||||
|
@ -91,12 +91,8 @@ The rspec-mode prefix is =SPC m t=. Here is some examples:
|
||||||
| ~rspec-verify~ | =SPC m t v= | Runs rspec on current file |
|
| ~rspec-verify~ | =SPC m t v= | Runs rspec on current file |
|
||||||
| ~rspec-verify-method~ | =SPC m t s= | Runs rspec for the item on cursor |
|
| ~rspec-verify-method~ | =SPC m t s= | Runs rspec for the item on cursor |
|
||||||
|
|
||||||
** Rails Server
|
** Hacks
|
||||||
By default, doom has disabled stdout from rails server to prevent emacs lag and performance issues. You can enable by adding:
|
+ =projectile-rails-custom-server-command= were changed to suppress extraneous output logged
|
||||||
|
to console. This was done to prevent a memory leak where the underlying
|
||||||
#+BEGIN_SRC elisp
|
process would continue logging to an Emacs buffer, which would grow forever. You can change to default behaviour by
|
||||||
;; On ~/.doom.d/config.el
|
setting this variable to =nil=.
|
||||||
(setq projectile-rails-custom-server-command nil)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
Also, you can change =bundle exec spring rails server= to another command, like docker.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue