1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 23:03:53 -05:00
Files
pyenv/libexec/rbenv-version-origin
2012-12-29 23:34:53 +01:00

11 lines
225 B
Bash
Executable File

#!/usr/bin/env bash
# Summary: Show where the current Ruby version is set from
set -e
[ -n "$RBENV_DEBUG" ] && set -x
if [ -n "$RBENV_VERSION" ]; then
echo "RBENV_VERSION environment variable"
else
rbenv-version-file
fi