lang/ruby: add +chruby (#2667)

Co-authored-by: Henrik Lissner <accounts@v0.io>
This commit is contained in:
Otávio Schwanck dos Santos 2020-03-09 18:04:10 +00:00 committed by GitHub
parent 503c6d878e
commit 992f4b76f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 5 deletions

View file

@ -10,3 +10,7 @@
(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?")))
(when (and (executable-find "chruby") (featurep! +chruby))
(unless (split-string (shell-command-to-string "chruby") "\n" t)
(warn! "No versions of ruby are available via chruby, did you forget to install one?")))