Skip to content

Commit

Permalink
show log when failed
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Oct 19, 2011
1 parent 4929d35 commit 04d105d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/ruby-build
Expand Up @@ -29,7 +29,8 @@ build_failed() {
echo
echo "Inspect or clean up the working tree at ${TEMP_PATH}"
echo "Results logged to ${LOG_PATH}"
echo
echo "Last 10 log lines:"
tail -n 10 $LOG_PATH
} >&3
exit 1
}
Expand Down

0 comments on commit 04d105d

Please sign in to comment.