Thanks, it works now. It had to do with opening for writing only. I guess it makes sense that you can't open a file for reading if it doesn't exist, I just thought that if you open for reading AND writing it would be smart enough to create it anyways and just return nil on a "gets" or similar request. Anyways, thanks again. -- Posted via http://www.ruby-forum.com/.