mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/ruby: add +chruby (#2667)
Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
committed by
GitHub
parent
503c6d878e
commit
992f4b76f4
@ -119,6 +119,14 @@
|
||||
"e" #'bundle-exec
|
||||
"o" #'bundle-open))
|
||||
|
||||
(use-package! chruby
|
||||
:when (featurep! +chruby)
|
||||
:hook (enh-ruby-mode . chruby-use-corresponding)
|
||||
:hook (ruby-mode . chruby-use-corresponding)
|
||||
:config
|
||||
(setq rspec-use-rvm nil
|
||||
rspec-use-chruby t))
|
||||
|
||||
(after! rbenv
|
||||
(setq rspec-use-rvm nil)
|
||||
(add-to-list 'exec-path (expand-file-name "shims" rbenv-installation-dir)))
|
||||
|
Reference in New Issue
Block a user