Thanks Dave. I'll give this a try. I almost choked when my friend told it ran without changes on OS X. S. Quoting Dave Bass <davebass / musician.org>: > unknown wrote: >> Just a quick update: a friend ran my entire code on Mac/Unix and it >> worked perfectly. The problem appears to be Windows related...ughh. > > I'd be highly suspicious of the file names, looking for things like > trailing whitespace etc. > > Also I'd try opening each file like this: > > f = File.open(name, "w") > f.puts("File is no longer empty") > f.fsync > f.close > > The fewer operations you do in one line the better from a debugging > point of view. (The f.sync is to ensure that no buffering occurs, just > in case.) > -- > Posted via http://www.ruby-forum.com/. > >