Check whether rbenv is enabled before complaining
This commit is contained in:
parent
453e20534f
commit
75ad749e10
1 changed files with 1 additions and 1 deletions
|
@ -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?")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue