Guest User

Untitled

a guest
May 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #set -x
  4.  
  5. # Load RVM into a shell session *as a function*
  6. if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
  7.  
  8. # First try to load from a user install
  9. source "$HOME/.rvm/scripts/rvm"
  10.  
  11. elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
  12.  
  13. # Then try to load from a root install
  14. source "/usr/local/rvm/scripts/rvm"
  15.  
  16. else
  17.  
  18. printf "ERROR: An RVM installation was not found.\n"
  19.  
  20. fi
  21.  
  22. \. "/var/www/.rvmrc"
  23. cd /var/www && thin -C config/thin_cluster.yml start
Add Comment
Please, Sign In to add comment