Last Updated: February 25, 2016
·
520
· irakli

Root Folder for Current Ruby/RVM Installation

RUBY_HOME=`which ruby`
export RUBY_HOME=${RUBY_HOME%\/*bin\/ruby}
echo $RUBY_HOME

will output something like:

/home/developer/.rvm/rubies/ruby-2.0.0-p247