diff --git a/modules/lang/ruby/README.org b/modules/lang/ruby/README.org index cc307c783..cd64f92ea 100644 --- a/modules/lang/ruby/README.org +++ b/modules/lang/ruby/README.org @@ -7,6 +7,7 @@ - [[#description][Description]] - [[#module-flags][Module Flags]] - [[#packages][Packages]] + - [[#hacks][Hacks]] - [[#prerequisites][Prerequisites]] - [[#ubuntu][Ubuntu]] - [[#macos][MacOS]] @@ -47,6 +48,12 @@ This module add Ruby and optional Ruby on Rails support to Emacs. + [[https://github.com/eschulte/jump.el/tree/e4f1372cf22e811faca52fc86bdd5d817498a4d8][inflections]] + [[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 Many of this modules plugins require ruby with some version manager (RVM or Rbenv) and the rubocop gem. @@ -88,4 +95,5 @@ The rspec-mode prefix is =SPC m t=. Here is some examples: | command | key / ex command | description | |-----------------------+------------------+-----------------------------------| | ~rspec-verify~ | =SPC m t v= | Runs rspec on current file | -| ~rspec-verify-method~ | =SPC m t f= | Runs rspec for the item on cursor | +| ~rspec-verify-method~ | =SPC m t s= | Runs rspec for the item on cursor | + diff --git a/modules/lang/ruby/config.el b/modules/lang/ruby/config.el index f9b29b84e..743bbd56e 100644 --- a/modules/lang/ruby/config.el +++ b/modules/lang/ruby/config.el @@ -183,6 +183,7 @@ :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))