for dir in ~/.rbenv/bin ~/.rbenv/shims; do if test -d "$dir"; then export PATH="${PATH}:${dir}" fi done eval "$(rbenv init -)"