From: Herman Schultz Date: 2009-08-12T06:52:38+09:00 Subject: Re: Windows ENV object being corrupted Herman Schultz wrote: > I am running in rake ( I have reproduced the problem with a straight > ruby script ) and I read in a batch file that has a few hundred > environment variables in it. At some magic point when 323 entries are > made to the ENV object, suddenly the ENV object gets corrupted. > Suddenly the adds don't seem to take and later a bunch of my Environment > variables go missing. > This appears to be related to spaces in the value strings. As a Hack I removed any Env value that had a space, which happens to work for me now, but I still can't wrap my head around why size plays a factor. -- Posted via http://www.ruby-forum.com/.