Table of Contents
mkdir /home/vault/ruby && cd /home/vault/ruby gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 && curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh && rvm install 2.2.1 && rvm use 2.2.1 --default && gem install bundler monitor daemons |
#! /bin/bash # Load RVM into a shell session *as a function* if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then # First try to load from a user install source "$HOME/.rvm/scripts/rvm" elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then # Then try to load from a root install source "/usr/local/rvm/scripts/rvm" else printf "ERROR: An RVM installation was not found.\n" fi rvm use 2.2.1 |