Skip to content

Instantly share code, notes, and snippets.

@rkive
Last active August 29, 2015 14:01
Show Gist options
  • Save rkive/6163c8f89bd23f67e44b to your computer and use it in GitHub Desktop.
Save rkive/6163c8f89bd23f67e44b to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt-get update
sudo apt-get install git build-essential
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
. ~/.bash_profile
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.1.1
echo 'gem: --no-ri --no-rdoc' > ~/.gemrc
git clone https://github.com/boto/boto.git /tmp/boto
cd /tmp/boto;python setup.py install
wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O /usr/local/bin/docker
chmod +x /usr/local/bin/docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment