> mode:  file mode. a string or an integer

> The last line there seems to explain why you are getting the error.
> Although, you aren't supplying a *numeric* file descriptor either, so
> who knows.

File::WRONLY|File::TRUNC|File::CREAT is numeric...

-- 
Posted via http://www.ruby-forum.com/.