lang/{python,ruby}: add doctor.el
This commit is contained in:
parent
c36e127ec5
commit
fd16719324
2 changed files with 16 additions and 0 deletions
8
modules/lang/python/doctor.el
Normal file
8
modules/lang/python/doctor.el
Normal file
|
@ -0,0 +1,8 @@
|
|||
;;; lang/python/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(unless (executable-find "python")
|
||||
(warn! "Python isn't installed."))
|
||||
|
||||
(when (executable-find "pyenv")
|
||||
(unless (split-string (shell-command-to-string "pyenv versions --bare") "\n" t)
|
||||
(warn! "No versions of python are available via pyenv, did you forget to install one?")))
|
8
modules/lang/ruby/doctor.el
Normal file
8
modules/lang/ruby/doctor.el
Normal file
|
@ -0,0 +1,8 @@
|
|||
;;; lang/ruby/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(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?")))
|
Loading…
Add table
Add a link
Reference in a new issue