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"