From: Louis-Philippe Date: 2009-02-28T00:37:39+09:00 Subject: Re: Not able to read a file just created --0016e64761100954280463e843b7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 > 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. > > --0016e64761100954280463e843b7--