-
Notifications
You must be signed in to change notification settings - Fork 127
Description
The rbenv-doctor utility is fantastic for debugging rbenv installations. Similarly related to what the doctor utility scans for, is inspecting the status of env vars that are relevant to rbenv, ruby, and rubygems. The rbenv-env plugin exists for that purpose at the moment.
I'm curious around a few thoughts that interrelate to one another.
Firstly, does it make sense for rbenv-doctor to be distributable as an rbenv plugin, such that rbenv doctor is an available subcommand? Strictly speaking, one could already install this as a plugin. But doing so in its present form would also add rbenv installer as a subcommand, which is much less useful.
Secondly, would it make sense for doctor to gain env-var introspection capability? Either as a separate subcommand, or as a part of doctor's own output? Perhaps by merging with rbenv-env plugin or combining effort?
(These thoughts interrelate because for env-var introspection to be effective, I think it would really need to be run as a proper plugin so that it's seeing the environment the way rbenv-managed ruby commands do.)