From: 7stud -- Date: 2011-05-18T06:43:12+09:00 Subject: Re: File.open options hash "mode" as int Roger Pack wrote in post #999326: >> 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... ...and what does the last line of the docs I posted say? -- Posted via http://www.ruby-forum.com/.