fix rails command

This commit is contained in:
Otávio Schwanck 2020-11-12 21:55:15 -03:00
parent f7293fb67e
commit a460c1e364
2 changed files with 2 additions and 10 deletions

View file

@ -7,7 +7,6 @@
- [[#description][Description]] - [[#description][Description]]
- [[#module-flags][Module Flags]] - [[#module-flags][Module Flags]]
- [[#packages][Packages]] - [[#packages][Packages]]
- [[#hacks][Hacks]]
- [[#prerequisites][Prerequisites]] - [[#prerequisites][Prerequisites]]
- [[#ubuntu][Ubuntu]] - [[#ubuntu][Ubuntu]]
- [[#macos][MacOS]] - [[#macos][MacOS]]
@ -48,12 +47,6 @@ This module add Ruby and optional Ruby on Rails support to Emacs.
+ [[https://github.com/eschulte/jump.el/tree/e4f1372cf22e811faca52fc86bdd5d817498a4d8][inflections]] + [[https://github.com/eschulte/jump.el/tree/e4f1372cf22e811faca52fc86bdd5d817498a4d8][inflections]]
+ [[https://github.com/plexus/chruby.el][chruby]] (=+chruby=) + [[https://github.com/plexus/chruby.el][chruby]] (=+chruby=)
** Hacks
+ =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
process would continue logging to an Emacs buffer, which would grow forever. You can change to default behaviour by
setting this variable to =nil=.
* Prerequisites * Prerequisites
Many of this modules plugins require ruby with some version manager (RVM or Many of this modules plugins require ruby with some version manager (RVM or
Rbenv) and the rubocop gem. Rbenv) and the rubocop gem.
@ -96,4 +89,3 @@ 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 |

View file

@ -185,7 +185,7 @@
:hook (projectile-rails-mode . auto-insert-mode) :hook (projectile-rails-mode . auto-insert-mode)
:init :init
(setq auto-insert-query nil) (setq auto-insert-query nil)
(setq projectile-rails-custom-server-command "bundle exec spring rails server --no-log-to-stdout") (setq projectile-rails-custom-server-command "bundle exec spring rails server")
(setq inf-ruby-console-environment "development") (setq inf-ruby-console-environment "development")
(when (featurep! :lang web) (when (featurep! :lang web)
(add-hook 'web-mode-hook #'projectile-rails-mode)) (add-hook 'web-mode-hook #'projectile-rails-mode))