From: Nobuyoshi Nakada Date: 2009-03-16T14:43:20+09:00 Subject: [ruby-core:22907] Re: Relegate 1.8.6 to Engine Yard, part II Hi, At Wed, 11 Mar 2009 21:20:41 +0900, Urabe Shyouhei wrote in [ruby-core:22845]: > Ryan, I hav'nt been able to reproduce this bug on 1.8.6. I suspect it doesn't > hurt 1.8.7 and earlier. Can you check? > > zsh % mkdir -p a/foo b > > zsh % touch b/foo > zsh % ls -ld a/* b/* > drwxr-xr-x 2 shyouhei shyouhei 40 2009-03-11 21:13 a/foo > -rw-r--r-- 1 shyouhei shyouhei 0 2009-03-11 21:13 b/foo > zsh % ruby -v -Ia -Ib -e 'load "foo"' > ruby 1.8.6 (2009-03-10 patchlevel 362) [x86_64-linux] > a/foo: Is a directory - a/foo (Errno::EISDIR) > from -e:1:in `load' > from -e:1 It is exactly the reported behavior. Now 1.8.8dev ignores a/foo because it is a directory, but loads b/foo instead. To be backported or not is another story. Honestly, I can't imagine why merb has to create such directory structure. -- Nobu Nakada