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