supermarin/xcpretty — pull request #75 by jonaswitt (2014-03-28 16:20:05+00:00)
Title: close report file after writing

If the file is not closed (which File.open doesn't do automatically if it not passed a block) and the xcpretty ruby library is used from within another process (not the command line, where the file is closed after the xcpretty process exits), then you have an open file with pending writes that cannot be used.