From: Pit Capitain Date: 2002-01-10T20:52:09+09:00 Subject: Re: Severe issue with two Threads and load and eval On 10 Jan 2002, at 18:50, Erik B�gfors wrote: > On Thu, 2002-01-10 at 10:42, Jens Nissen wrote: > > I have trouble with executing load and eval in two concurrent Ruby > > Threads. The code from 'eval' is appended to the file loaded and a > > Syntax error appears in the thread executing 'load'. (Environment is > > Ruby 1.6.6./mswin32/Windows2K) > > > > Hmm.. It works here on a linux-box... > > Seams like a windows-issue. You are not using a cygwin-build are you? > Do you have more luck with cygwin? On my Windows NT with ruby 1.6.4 (2001-06-04) [i386-cygwin] it works from the console as expected, but running in RubyWin I get the same error as Jens, sometimes at least: First try in the RubyWin session: works Change code to load a non-existing file: Jens' error Change code back to existing file: Jens' error Restart RubyWin, execute same code: works again Restart RubyWin, change to non-existing file: No such file to load Rerun same script without changes: Jens' error Seems to be some issues with RubyWin and file loading... Pit