Hi,
In message "[ruby-talk:02551] Undocumented surprising Dir.glob() behavior"
on 00/04/21, "David Douthitt" <DDouthitt / cuna.com> writes:
|
|It would appear that Dir.glob() will not accept wildcards in the first element of an absolute path. Why this is so I don't know. It doesn't seem to do much since you can still do Dir.chdir("/") then use relative paths..... This behavior is not documented in the 1.4 manual for Dir.glob.
It's a bug in 1.4.3. Try upgrading to 1.4.4.
matz.