From: Herman Schultz Date: 2009-12-03T02:30:43+09:00 Subject: Re: Rake Environment variables gone missing t3ch.dude wrote: > On Dec 1, 11:16�am, Herman Schultz wrote: >> patchlevel 287) [i386-mswin32] and rake, version 0.8.1. >> � � � env_count = ENV.size() >> � � � if( env_count != ENV.size()) >> >> ENV Hash whacked. 360:361 -> CEN_XML_SUPPORT_REL_LIB_LOC >> 360 >> >> I should note that in the very next attempt the size of ENV goes to 27! >> So something is going seriously wrong here. >> >> Any thoughts as to what specifically is failing. >> -- >> Posted viahttp://www.ruby-forum.com/. > > Herman, > > I found one reference (http://blogs.msdn.com/oldnewthing/archive/ > 2006/07/06/657868.aspx ) indicating that the Windows environment is > limited to 64K, or 32Kcharacters in size. I'll bet you hit that limit. > > It probably broke for you where it worked for others because by > resolving variables, you're increasing the size of the values. > > -T3ch.dude Interesting. Doesn't give me much hope though. I suppose I could try it without resolving all variables. That means I'll have to split the environment between automation variables and devstudio variables. For example to shared library paths are used by both the automation system and devstudio. I'll need those resolved at some point for the automation system. hmmm. Don't think I'll get to it today. But I will try soon. Thanks. -- Posted via http://www.ruby-forum.com/.