Skip to content

Instantly share code, notes, and snippets.

@movesmyers
Last active December 16, 2015 09:19
Show Gist options
  • Select an option

  • Save movesmyers/5412517 to your computer and use it in GitHub Desktop.

Select an option

Save movesmyers/5412517 to your computer and use it in GitHub Desktop.
#!/bin/bash
# curl -s https://gist.githubusercontent.com/movesmyers/5412517/raw | sudo bash
sudo apt-get install -y curl build-essential git-core bison openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libghc6-zlib-dev libssl-dev libyaml-dev libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev libcurl4-openssl-dev libruby apache2-prefork-dev libapr1-dev libaprutil1-dev libffi-dev tcl-dev tk-dev
cd ~ && curl -O http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz && tar -xvf ruby-2.1.2.tar.gz && cd ruby-2.1.2
./configure && make && make test && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment