Created
September 3, 2012 04:05
-
-
Save ashmckenzie/3606667 to your computer and use it in GitHub Desktop.
Bootstrap for new Ubuntu box
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RUBY_VERSION='1.9.3-p194' | |
sudo apt-get install build-essential | |
cd /tmp | |
wget -c http://mirrors.ibiblio.org/ruby/ruby-${RUBY_VERSION}.tar.gz | |
tar xzf ruby-${RUBY_VERSION}.tar.gz | |
cd ruby-${RUBY_VERSION} | |
./configure --prefix=/opt/ruby-${RUBY_VERSION} && make && sudo make install && ln -s /opt/ruby-${RUBY_VERSION} /opt/ruby && export PATH=/opt/ruby/bin:${PATH} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment