Merge pull request #4261 from otavioschwanck/fix-rails-command

Revert Rails command change
This commit is contained in:
Henrik Lissner 2021-02-26 21:34:09 -05:00 committed by GitHub
commit b3753da45a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 10 deletions

View file

@ -7,7 +7,6 @@
- [[#description][Description]]
- [[#module-flags][Module Flags]]
- [[#packages][Packages]]
- [[#hacks][Hacks]]
- [[#prerequisites][Prerequisites]]
- [[#ubuntu][Ubuntu]]
- [[#macos][MacOS]]
@ -48,12 +47,6 @@ This module add Ruby and optional Ruby on Rails support to Emacs.
+ [[https://github.com/rubocop-hq/rubocop-emacs][rubocop]]
+ [[https://github.com/senny/rvm.el][rvm]] (=+rvm=)
** 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
Many of this modules plugins require ruby with some version manager (RVM or
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-method~ | =SPC m t s= | Runs rspec for the item on cursor |

View file

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