From: Simon Strandgaard Date: 2004-05-31T06:21:58+09:00 Subject: Re: [BUG?] Behavior of application changes when adding non-relevant puts Felix Nawothnig wrote: > Seems I ran into a Heisenbug - the behaviour of my application changes > when I add or remove non-relevant code somewhere - seems it doesn't > really matter where. For that reason I can't really debug or isolate the > bug. :/ I took a very quick look at it. Ruby outputs lots of warnings.. what about getting rid of these first? Output attached. You way want to set the RUBYOPT environmentvar = 'w' Another thing is that you make heavy usage of the upper ASCII range 128-255, this may cause different behavier with different locale. Sorry, I couldn't find the bug. -- Simon Strandgaard server> ruby -w gold.rb ./basicthing.rb:106: warning: (...) interpreted as grouped expression ./noun.rb:61: warning: `*' interpreted as argument prefix ./noun.rb:4: warning: method redefined; discarding old noun ./noun.rb:12: warning: method redefined; discarding old syn ./basicthing.rb:153: warning: instance variable @dark not initialized Du befindest dich in einem dichtem Fichtenwald. Es hat gerade geregnet und Wasser tropft von den B�umen. Die Erde unter dir ist aufgewichen und du hinterl��t sichtbare Spuren in ihr. Ich kann nach: Osten, Norden, Westen, S�den >