Skip to content

Instantly share code, notes, and snippets.

@xymostech
Created June 26, 2012 06:00
Show Gist options
  • Save xymostech/2993640 to your computer and use it in GitHub Desktop.
Save xymostech/2993640 to your computer and use it in GitHub Desktop.
setup script
#!/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