From 0bdd502ba8888c76202aa283ff7353a860fb5221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Sat, 6 Sep 2014 01:23:17 -0700 Subject: [PATCH] Indicate ruby-build version number on build failures This might save us from having to ask people which version they have installed when they paste us build output from the console. --- bin/ruby-build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/ruby-build b/bin/ruby-build index ba315ec2..b68d8e03 100755 --- a/bin/ruby-build +++ b/bin/ruby-build @@ -73,7 +73,8 @@ colorize() { build_failed() { { echo - echo "BUILD FAILED" + colorize 1 "BUILD FAILED" + echo " ($(version))" echo if ! rmdir "${BUILD_PATH}" 2>/dev/null; then