1
0
Fork 0
mirror of https://github.com/pyenv/pyenv.git synced 2025-01-11 01:30:54 +00:00
pyenv/libexec/rbenv-version-origin
2012-12-29 22:05:04 -06:00

10 lines
221 B
Bash
Executable file

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