Created
June 26, 2012 06:00
-
-
Save xymostech/2993640 to your computer and use it in GitHub Desktop.
setup script
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/bash | |
set -e | |
sudo apt-get update | |
sudo apt-get install -y ruby make ruby-dev sqlite3 libsqlite3-dev screen | |
if ! which gem1.8 | |
then | |
curl -s -O http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz | |
tar -xzf rubygems-1.8.24.tgz | |
(cd rubygems-1.8.24; sudo ruby setup.rb) | |
fi | |
sudo gem1.8 install sqlite3 json --no-ri --no-rdoc | |
curl -s -L https://github.com/xymostech/mixtape/tarball/master > mixtape.tar.gz | |
tar -xzf mixtape.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment