pyenv/libexec/rbenv-version-origin
2012-12-29 23:34:53 +01:00

10 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