mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Check whether rbenv is enabled before complaining
This commit is contained in:
@ -7,6 +7,6 @@
|
||||
(unless (executable-find "ruby")
|
||||
(warn! "Ruby isn't installed."))
|
||||
|
||||
(when (executable-find "rbenv")
|
||||
(when (and (executable-find "rbenv") (featurep! +rbenv))
|
||||
(unless (split-string (shell-command-to-string "rbenv versions --bare") "\n" t)
|
||||
(warn! "No versions of ruby are available via rbenv, did you forget to install one?")))
|
||||
|
Reference in New Issue
Block a user