From: Jeff Miller Date: 2008-03-01T08:51:21+09:00 Subject: Outputting a txt file Hello, Probably a stupid question, but I can't seem to get this to work. I can create the file, but when I open it, it is blank... create_log = File.new("sync_log_#{@date}.txt", "a") puts "sync Log for #{Time.now}" create_log.close Does anybody know why? It should say "sync Log for (the date and time)" yet I'm not getting anything... Any help is appreciated! Thanks, - Jeff -- Posted via http://www.ruby-forum.com/.