From b8879a01b7fcbec07ca276accdd4c3405e1be40c Mon Sep 17 00:00:00 2001 From: ignisf Date: Wed, 6 Feb 2013 17:32:36 +0200 Subject: [PATCH] Do not display an error when gmake is not present --- ext/libv8/make.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libv8/make.rb b/ext/libv8/make.rb index 950ca4b..70f101b 100644 --- a/ext/libv8/make.rb +++ b/ext/libv8/make.rb @@ -4,7 +4,7 @@ module Libv8 def make unless defined?(@make) - @make = `which gmake`.chomp + @make = `which gmake 2> /dev/null`.chomp @make = `which make`.chomp unless $?.success? end @make