Skip to content

Instantly share code, notes, and snippets.

@mpapis
Forked from techieBrandon/installer.sh
Created February 27, 2012 23:42
Show Gist options
  • Save mpapis/1927943 to your computer and use it in GitHub Desktop.
Save mpapis/1927943 to your computer and use it in GitHub Desktop.
Trimmed version of custom rvm installer script
CURDIR=$PWD
RVM_SOURCE=$CURDIR/source/wayneeseguin-rvm-45a40ea
: configure rvm
printf "%b" "
export rvm_path=/home/deployer/.rvm
export rvm_archives_path=$CURDIR/source/
" > /home/deployer/.rvmrc
: install rvm
su deployer -c "cd $RVM_SOURCE ; ./install"
: install ruby
su deployer -c "/home/deployer/.rvm/bin/rvm install 1.9.3-p125"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment