RVM Install

by retr0h
6 deployments · 1 still active · last rev. 7 years ago

StackScript which installs RVM system wide.

Installs openssl and readline so net/https and irb/console work respectively.

Compatible with: No distros currently supported

aptitude -y install curl bison build-essential autoconf zlib1g-dev libssl-dev libxml2-dev libreadline6-dev git-core

bash < <( curl -L http://bit.ly/rvm-install-system-wide )
source /etc/rvmrc

rvm package install openssl
rvm package install readline

rvm use ${DEFAULT_RUBY_INTERPRETER} --default
echo ". /usr/local/lib/rvm" > /etc/profile.d/rvm.sh