1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-12 21:33:54 -05:00

Display version origin with non-installed versions

This is useful as an indicator where it is coming from.
This commit is contained in:
Daniel Hahler
2015-07-17 17:10:33 +02:00
parent 83ac0fbd94
commit e3982fae38
5 changed files with 5 additions and 5 deletions

View File

@@ -23,6 +23,6 @@ if version_exists "$RBENV_VERSION"; then
elif version_exists "${RBENV_VERSION#ruby-}"; then
echo "${RBENV_VERSION#ruby-}"
else
echo "rbenv: version \`$RBENV_VERSION' is not installed" >&2
echo "rbenv: version \`$RBENV_VERSION' is not installed (set by $(rbenv-version-origin))" >&2
exit 1
fi