This commit is contained in:
Sam 2013-08-15 15:37:33 +10:00
parent 1c4b1eba08
commit 8f5866d9e8
1 changed files with 13 additions and 0 deletions

View File

@ -5,9 +5,22 @@ def run(command)
system(command, out: $stdout, err: :out) system(command, out: $stdout, err: :out)
end end
def prereqs
puts "Be sure to following packages are installed:
sudo tasksel install postgresql-server
sudo apt-get -y install build-essential libssl-dev libyaml-dev git libtool libxslt-dev libxml2-dev libpq-dev gawk curl pngcrush python-software-properties
sudo apt-add-repository -y ppa:rwky/redis
sudo apt-get update
sudo apt-get install redis-server
"
end
puts "Running bundle" puts "Running bundle"
if !run("bundle") if !run("bundle")
puts "Quitting, some of the gems did not install" puts "Quitting, some of the gems did not install"
prereqs
exit exit
end end