Skip to content

Instantly share code, notes, and snippets.

@GeorgeErickson
Last active August 29, 2015 13:57
Show Gist options
  • Save GeorgeErickson/9477222 to your computer and use it in GitHub Desktop.
Save GeorgeErickson/9477222 to your computer and use it in GitHub Desktop.
sudo apt-get install vim
sudo apt-get install git-core
sudo apt-get -y install nodejs
update-alternatives --set editor /usr/bin/vim.tiny
# as root user
apt-get -y install nginx
service nginx start
echo "deb http://apt.postgresql.org/pub/repos/apt/ saucy-pgdg main" >> /etc/apt/sources.list
wget --quiet -O - http://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -q -y install postgresql-9.3 postgresql-9.3-postgis postgresql-contrib libpq-dev
# check setup
# sudo su - postgres
# psql
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
echo 'gem: --no-ri --no-rdoc' >> $HOME/.gemrc
rbenv bootstrap-ubuntu-12-04
rbenv install 2.0.0-p353
rbenv global 2.0.0-p353
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby rubygems ruby-switch
sudo apt-get install ruby2.1 ruby2.1-dev
sudo ruby-switch --set ruby2.1
@GeorgeErickson
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment