Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #set -x
- # 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
- \. "/var/www/.rvmrc"
- cd /var/www && thin -C config/thin_cluster.yml start
Add Comment
Please, Sign In to add comment