Skip to content

Instantly share code, notes, and snippets.

@jots
Created September 16, 2015 02:13
Show Gist options
  • Save jots/f71b0b3248aad394a302 to your computer and use it in GitHub Desktop.
Save jots/f71b0b3248aad394a302 to your computer and use it in GitHub Desktop.
#!/bin/bash
# https://twitter.com/sadserver/status/610520237755142144
# "..developers and their shitty code.."
# he muttered before returning to work on the
# home-grown deployment system written in Csh
#apt-get update
apt-get -y install autoconf bison build-essential libssl-dev libyaml-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev libreadline-dev
git clone https://github.com/sstephenson/ruby-build.git
cd ruby-build
./install.sh
ruby-build 2.2.3 /usr/local
echo 'gem: --no-document' >> ~/.gemrc
gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment