On Mar 15, 2009, at 22:43 , Nobuyoshi Nakada wrote:

> 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.

I can't speak for merb, but the issue I'm seeing is:

ZenTest-4.0.0/bin/autotest

vs:

cucumber-0.1.16/lib/autotest/discover.rb

rubygems installs "bin" scripts with a gem wrapper:

> require 'rubygems'
>
> version = ">= 0"
>
> if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
>   version = $1
>   ARGV.shift
> end
>
> gem 'ZenTest', version
> load 'autotest'

Unfortunately, that directory structure is here to stay.