we need the output of bundle

This commit is contained in:
Sam 2013-08-15 15:32:07 +10:00
parent 5d05b96ca0
commit 1c4b1eba08
1 changed files with 8 additions and 1 deletions

View File

@ -1,8 +1,15 @@
require "socket" require "socket"
require "csv" require "csv"
def run(command)
system(command, out: $stdout, err: :out)
end
puts "Running bundle" puts "Running bundle"
`bundle` if !run("bundle")
puts "Quitting, some of the gems did not install"
exit
end
puts "Ensuring config is setup" puts "Ensuring config is setup"