Commit a72a81b9 by Sam Stephenson

Respect RBENV_ROOT

parent 4bf5c008
#!/bin/sh #!/usr/bin/env bash
exec ruby-build $1 ~/.rbenv/versions/$1 set -e
[ -n "$RBENV_DEBUG" ] && set -x
if [ -z "$RBENV_ROOT" ]; then
RBENV_ROOT="${HOME}/.rbenv"
fi
exec ruby-build "$1" "${RBENV_ROOT}/versions/$1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment