Skip to content

Should doctor also print relevant env vars "debugging"? #54

@jasonkarns

Description

@jasonkarns

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions