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.
This commit is contained in:
Mislav Marohnić 2014-09-06 01:23:17 -07:00
parent 2f51dee3f0
commit 0bdd502ba8

View file

@ -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