From: "Jan E." Date: 2012-07-22T23:25:18+09:00 Subject: Re: File.open error when variable is used Ruby 1.6, that's really ancient. Isn't it possible for you to update? I wouldn't be surprised if a 10 year old version had all kinds of bugs. Apart from that, I can only repeat what I already said: Check the error message and the value of $outFile just before the file is opened. Simply point $stdout and $stderr to some file, so that all output and errors are written to this file. -- Posted via http://www.ruby-forum.com/.