From: Roger Pack Date: 2009-12-10T22:36:09+09:00 Subject: Re: How do I ensure that File.write finished? > File.new(APP_CONFIG_FILE, "w").write string This file is never closed, so if the process is exited without running its finalizers for some reason, buffered data could be lost. -r -- Posted via http://www.ruby-forum.com/.