lang/ruby: add +chruby (#2667)
Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
parent
503c6d878e
commit
992f4b76f4
5 changed files with 21 additions and 5 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue