1
0
Fork 0
mirror of https://github.com/rbenv/rbenv.git synced 2025-05-29 00:21:38 +02:00
rbenv/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