[fxruby-users] ruby-1.8.5 loads fox16.so more than once
lyle at knology.net
Wed Sep 13 08:32:45 EDT 2006
On Sep 13, 2006, at 2:46 AM, DeeJay wrote:
> fwiw, this is what ri has to say about Kernel#require -
> " The name of the loaded feature is added to the array in $". A
> feature will not be loaded if it's name already appears in $".
> However, the file name is not converted to an absolute path, so
> that ``require 'a';require './a''' will load a.rb twice. "
Right, and this is the behavior that got broken in Ruby 1.8.5. I've
already posted the bug to the ruby-core list and Nobu says that he's
fixed it in CVS (i.e. it should be working by Ruby 1.8.6).
For any follow-up on this, please refer to:
More information about the fxruby-users