Skip to content

Instantly share code, notes, and snippets.

@jpowers
Created July 13, 2011 02:14
Show Gist options
  • Select an option

  • Save jpowers/1079595 to your computer and use it in GitHub Desktop.

Select an option

Save jpowers/1079595 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade –y
sudo apt-get install vim build-essential libssl-dev openssl curl libxml2-dev libxslt1-dev git-core mysql-server libmysqlclient-dev \
nginx monit ufw monit lynx unixodbc-dev unixodbc tdsodbc freetds-dev freetds-common libreadline5-dev libncurses5-dev libaio-dev -y
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.profile
source .profile
rvm install 1.9.2
rvm use 1.9.2@shipster-scanner --create
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment