There appears to be a difference in flush semantics between different Rubies. Older ones require an explicit call to flush.
Created attachment 213610 [details] the patch
Landed in http://trac.webkit.org/changeset/157084