Don't mess with bundler if it's not available

This commit is contained in:
Yan Pritzker 2014-03-01 19:40:33 -06:00
parent 6ff702f31c
commit 3894b1bc1b

View File

@ -130,6 +130,8 @@ def number_of_cores
end end
def run_bundle_config def run_bundle_config
return unless system("which bundle")
bundler_jobs = number_of_cores - 1 bundler_jobs = number_of_cores - 1
puts "======================================================" puts "======================================================"
puts "Configuring Bundlers for parallel gem installation" puts "Configuring Bundlers for parallel gem installation"