Fix text report console output on JRuby

:coffee: