mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Andersbakken/rtags@cdff9b47fc -> Andersbakken/rtags@db39790fda Sarcasm/irony-mode@ec6dce7ee1 -> Sarcasm/irony-mode@5063d6b16d ananthakumaran/tide@296c0e0e3a -> ananthakumaran/tide@28137ed904 brianc/jade-mode@111460b056 -> brianc/jade-mode@1ad7c51f3c cython/cython@aea4e6b84b -> cython/cython@5b325c9860 dgutov/robe@fd972e912d -> dgutov/robe@11207bd549 dominikh/go-mode.el@34974346d1 -> dominikh/go-mode.el@32cbd78c0a emacs-lsp/lsp-pyright@72fd57643d -> emacs-lsp/lsp-pyright@d428dbcf18 emacs-typescript/typescript.el@2a58631230 -> emacs-typescript/typescript.el@e824162051 galaunay/poetry.el@d5163fe065 -> galaunay/poetry.el@5b9ef569d6 hlissner/emacs-counsel-css@f7647b4195 -> hlissner/emacs-counsel-css@8e9c0515fc hlissner/emacs-pug-mode@d08090485e -> hlissner/emacs-pug-mode@73f8c2f95e jorgenschaefer/pyvenv@045ff9476d -> jorgenschaefer/pyvenv@31ea715f21 necaris/conda.el@4de6eccda5 -> necaris/conda.el@7a34e06931 pythonic-emacs/anaconda-mode@4f367c768a -> pythonic-emacs/anaconda-mode@cbea0fb318 wbolster/emacs-python-pytest@31ae5e0e68 -> wbolster/emacs-python-pytest@b603c5c7f2
lang/ruby
Table of contents TOC
Description
This module add Ruby and optional Ruby on Rails support to Emacs.
- Code completion (robe)
- Syntax checking (flycheck)
- Jump-to-definitions (robe)
- Bundler
- Rubocop integration (flycheck)
Module Flags
+lsp
Enables LangServer support for ruby. You must have:tools lsp
enabled for this to work, as well as the langserver (solargraph) installed on your system.+rvm
Enables RVM (Ruby Version Manager) integration.+rbenv
Enables rbenv integration.+chruby
Enables chruby integration.+rails
Enables rails navigational commands, plus server+console integration.
Packages
- bundler
- chruby (
+chruby
) - company-inf-ruby
- inflections
- inf-ruby
- minitest
- projectile-rails (
+rails
) - rake
- rbenv (
+rbenv
) - robe
- rspec-mode
- rubocop
- rvm (
+rvm
)
Prerequisites
Many of this modules plugins require ruby with some version manager (RVM or Rbenv) and the rubocop gem.
Ubuntu
You can follow this guide. After ruby installation, run gem install rubocop
.
MacOS
You can follow this guide. After ruby installation, run gem install rubocop
.
Windows
You can follow this guide. After ruby installation, run gem install rubocop
.
Appendix
Commands
robe
command | key / ex command | description |
---|---|---|
robe-start |
SPC m \' |
Open ruby lang server for auto-completions and jump to definitions |
robe-rails-refresh |
SPC m R |
Refresh the lang server. |
projectile-rails
The projectile-rails prefix is SPC m r
. Here is some examples:
command | key / ex command | description |
---|---|---|
projectile-rails-console |
SPC m r r |
Open Rails console |
projectile-rails-server |
SPC m r R |
Open Rails server |
projectile-rails-find-model |
SPC m r m |
Find any model of the project |
projectile-rails-find-model |
SPC m r M |
Find the model related of currently open resource |
bundler
The bundler prefix is SPC m b
. Here is some examples:
command | key / ex command | description |
---|---|---|
bundle-install |
SPC m b i |
Runs bundle install |
bundle-update |
SPC m b u |
Runs bundle update |
rspec-mode
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 s |
Runs rspec for the item on cursor |