mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
12 lines
448 B
EmacsLisp
12 lines
448 B
EmacsLisp
;;; lang/ruby/doctor.el -*- lexical-binding: t; -*-
|
|
|
|
(assert! (or (not (featurep! +lsp))
|
|
(featurep! :tools lsp))
|
|
"This module requires (:tools lsp)")
|
|
|
|
(unless (executable-find "ruby")
|
|
(warn! "Ruby isn't installed."))
|
|
|
|
(when (executable-find "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?")))
|