From 9104fdba8c2e9176b827c0b3863c287936398529 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 14 Mar 2011 15:48:35 -0700 Subject: [PATCH] Fix reporting of build errors. --- Library/Homebrew/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 0a4f74e4ca..32492c6be9 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -108,7 +108,7 @@ class BuildError < Homebrew::InstallationError @command = cmd @env = ENV.to_hash @exit_status = es.exitstatus rescue 1 - args = args.map{ |arg| arg.gsub " ", "\\ " }.join(" ") + args = args.map{ |arg| arg.to_s.gsub " ", "\\ " }.join(" ") super formula, "Failed executing: #{command} #{args}" end