Louis-Philippe
2/27/2009 3:38:00 PM
[Note: parts of this message were removed to make it a legal post.]
If these tricks don't do, try closing the writing filehandle before opening
the reading one, that does it for me.
L-P
2009/2/27 Choi, Junegunn <jg@samdorr.net>
> Try calling File#flush method after writing to the newly created file,
> so that the buffered data is flushed to OS. Or you can even call
> File#fsync to ensure that the data is actually written to disk.
>
>
> --
> junegunn.
>
>