Created
August 16, 2012 18:05
-
-
Save jalvarezsamayoa/3372197 to your computer and use it in GitHub Desktop.
Setup base ubuntu box with ruby 1.9.3
This file contains 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
#!/usr/bin/env | |
# setup_base_ruby_box.sh | |
sudo apt-get update -y | |
sudo apt-get install build-essential zlib1g-dev libssl-dev libreadline-dev git-core curl libyaml-dev libcurl4-dev libsqlite3-dev apache2-dev -y | |
sudo rm -rf /opt/vagrant_ruby | |
curl --remote-name http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar zxf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment