mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-23 04:12:01 +00:00
10 lines
302 B
Bash
Executable file
10 lines
302 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Summary: Show the current Ruby version and its origin
|
|
#
|
|
# Shows the current Ruby version and where it's set from. To obtain
|
|
# only the version string, use `rbenv version-name'.
|
|
|
|
set -e
|
|
[ -n "$RBENV_DEBUG" ] && set -x
|
|
|
|
echo "$(rbenv-version-name) (set by $(rbenv-version-origin))"
|