Skip to content

Instantly share code, notes, and snippets.

@ssig33
Created January 6, 2012 06:59
Show Gist options
  • Save ssig33/1569442 to your computer and use it in GitHub Desktop.
Save ssig33/1569442 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo apt-get install build-essential libncurses5-dev libreadline-dev libssl-dev libyaml-dev libmysqlclient-dev libsqlite3-dev libxml2-dev libxslt-dev libmagick-dev libmagickwand-dev libsasl2-dev libsasl2-2 libv8-dev -y
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.bz2
tar xvf ruby-1.9.3-p0.tar.bz2
cd ruby-1.9.3-p0
./configure
make -j 4
sudo make install
cd ..
sudo rm -rf ruby-1.9.3*
sudo gem update --system
sudo gem install bundler mysql2 sqlite3 therubyracer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment