mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Tweak the ruby- prefix warning
This commit is contained in:
parent
d4faae187a
commit
d2a8ca7d89
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ version_exists() {
|
|||
if version_exists "$RBENV_VERSION"; then
|
||||
echo "$RBENV_VERSION"
|
||||
elif version_exists "${RBENV_VERSION#ruby-}"; then
|
||||
{ echo "rbenv: ignoring extraneous \`ruby-' prefix in version \`${RBENV_VERSION}'"
|
||||
echo "(set by $(rbenv-version-origin))"
|
||||
{ echo "warning: ignoring extraneous \`ruby-' prefix in version \`${RBENV_VERSION}'"
|
||||
echo " (set by $(rbenv-version-origin))"
|
||||
} >&2
|
||||
echo "${RBENV_VERSION#ruby-}"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue