From 1c4b1eba084c39759b90dae8bebad3bcc38f21b5 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 15 Aug 2013 15:32:07 +1000 Subject: [PATCH] we need the output of bundle --- script/bench.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/script/bench.rb b/script/bench.rb index ebbab3db9fb..792fb2dced4 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -1,8 +1,15 @@ require "socket" require "csv" +def run(command) + system(command, out: $stdout, err: :out) +end + puts "Running bundle" -`bundle` +if !run("bundle") + puts "Quitting, some of the gems did not install" + exit +end puts "Ensuring config is setup"