Created
January 6, 2012 06:59
-
-
Save ssig33/1569442 to your computer and use it in GitHub Desktop.
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
#!/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