Re: Can't create a new file
- From: Nebs Petrovic <nebs_man@xxxxxxxxxxx>
- Date: Thu, 29 Jan 2009 22:19:04 -0500
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/.
.
- Follow-Ups:
- Re: Can't create a new file
- From: Robert Klemme
- Re: Can't create a new file
- References:
- Can't create a new file
- From: Nebs Petrovic
- Re: Can't create a new file
- From: Peña, Botp
- Can't create a new file
- Prev by Date: Re: Check for two strings
- Next by Date: Re: replacing callcc by catch/throw
- Previous by thread: Re: Can't create a new file
- Next by thread: Re: Can't create a new file
- Index(es):
Relevant Pages
|