Skip to content

Instantly share code, notes, and snippets.

@awinabi
Created June 15, 2015 18:24
Show Gist options
  • Save awinabi/18b596763f9af39c675d to your computer and use it in GitHub Desktop.
Save awinabi/18b596763f9af39c675d to your computer and use it in GitHub Desktop.
Install Script
install zlib1-dev
libxslt
libreadline-dev
openssl
i
apt-get -y update
apt-get -y install git build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.2.2
o=
sudo apt-get install postgresql postgresql-contrib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment