Skip to content

Instantly share code, notes, and snippets.

@tcshao
Created May 21, 2013 05:00
Show Gist options
  • Save tcshao/5617559 to your computer and use it in GitHub Desktop.
Save tcshao/5617559 to your computer and use it in GitHub Desktop.
Commands required to start up a Ubuntu Server 13.04
#!/bin/bash
apt-get update -y
apt-get upgrade -y
apt-get install ruby1.9.1 - y
apt-get install ruby1.9.1-dev -y
apt-get install build-essential -y
apt-get install libsqlite3-dev -y
apt-get install nodejs -y
apt-get install git -y
apt-get install libxslt-dev -y
gem install bundler --no-rdoc --no-ri
git clone http://github.com/tcshao/RailsTutorialByChapter.git
cd RailsTutorialByChapter
bundle install
rake db:reset
rake db:populate
rake db:test:prepare
rspec spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment