> May be Richard Dale has a solution for this?
>
> "class << file" changes Dirs' ancestors by Qt.

At the end of "Qt/qtruby.rb", "Qt" is included in class
"Module":

 class Module
   include Qt
 end

This affects all other code in the application! The test script
below shows the consequences.

Is that funny?... Not!

(Somehow, test 24 does work...)

gegroet,
Erik V.

----------------------------------------------------------------

 puts "BEFORE"
 p [11, Module.included_modules]
 p [12, Module.ancestors]
 class << File
   p [13, ancestors]
 end
 class File
   p [14, ancestors]
 end

 require "Qt"

 puts "AFTER"
 p [21, Module.included_modules]
 p [22, Module.ancestors]
 class << File
   p [23, ancestors]
 end
 class File
   p [24, ancestors]
 end

----------------------------------------------------------------

 BEFORE
 [11, [Kernel]]
 [12, [Module, Object, Kernel]]
 [13, [Class, Module, Object, Kernel]]
 [14, [File, IO, File::Constants, Enumerable, Object, Kernel]]
 AFTER
 [21, [Qt, Qt::Internal, Kernel]]
 [22, [Module, Qt, Qt::Internal, Object, Kernel]]
 [23, [Class, Module, Qt, Qt::Internal, Object, Kernel]]
 [24, [File, IO, File::Constants, Enumerable, Object, Kernel]]

----------------------------------------------------------------