fesplugas/rbenv-installer — pull request #5 by subosito (2012-06-23 09:03:24+00:00)
Title: Ability to set custom RBENV_ROOT

For some cases, we need to install rbenv other than `$HOME/.rbenv`. Say if we want to install rbenv on Redhat's openshift we need to use `$OPENSHIFT_DATA_DIR/.rbenv`. That's why I thought it would be better if we could:

export RBENV_ROOT=$OPENSHIFT_DATA_DIR/.rbenv
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash