From: "Choi, Junegunn" Date: 2009-02-27T21:16:31+09:00 Subject: Re: Not able to read a file just created 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.