-
-
Save mpapis/1927943 to your computer and use it in GitHub Desktop.
Trimmed version of custom rvm installer script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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