Skip to content

Instantly share code, notes, and snippets.

@jalvarezsamayoa
Created August 16, 2012 18:05
Show Gist options
  • Save jalvarezsamayoa/3372197 to your computer and use it in GitHub Desktop.
Save jalvarezsamayoa/3372197 to your computer and use it in GitHub Desktop.
Setup base ubuntu box with ruby 1.9.3
#!/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