mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/{python,ruby}: add doctor.el
This commit is contained in:
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?")))
|
Reference in New Issue
Block a user