From 3894b1bc1bdbd464e8bb0adb2e4e9b121267c70f Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Sat, 1 Mar 2014 19:40:33 -0600 Subject: [PATCH] Don't mess with bundler if it's not available --- Rakefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rakefile b/Rakefile index 51e7ae1..d9e4613 100644 --- a/Rakefile +++ b/Rakefile @@ -130,6 +130,8 @@ def number_of_cores end def run_bundle_config + return unless system("which bundle") + bundler_jobs = number_of_cores - 1 puts "======================================================" puts "Configuring Bundlers for parallel gem installation"