From: Hooopo Date: 2009-06-06T15:55:11+09:00 Subject: Re: env change, or iconv library self-mutated??? On Jun 5, 9:52 pm, Mk 27 wrote: > I can see what happened now.  The one line script which failed is this, > "test.rb" > > require "iconv" > > In the same directory was the script from my previous post, named > "iconv.rb".  Evidently there is some rule of precedence here whereby > when running test.rb, ruby first looked in the relative path and loaded > iconv.rb causing the error.  This is consistent. > > What is confusing and inconsistent is that running "iconv.rb" as itself > works sometimes but not others.  Renaming it obviously prevents the > problem. > > Sorry again. > -- > Posted viahttp://www.ruby-forum.com/. So interisting~~