H
Han Holl
Hi,
I encountered a problem in 1.8.5, or at least in ruby-1.8.5-4.fc6 from
Fedora Core 6.
Do this:
irb
irb(main):001:0> autoload :Syslog, 'syslog'
=> nil
irb(main):002:0> require 'syslog'
and get a lot of error messages about already initialized constants.
Also, syslog.so appears twice in $".
It can get even worse if you have a couple of autoloads for the same class.
With 1.8.4 this problem didn't exist.
Cheers,
Han Holl
I encountered a problem in 1.8.5, or at least in ruby-1.8.5-4.fc6 from
Fedora Core 6.
Do this:
irb
irb(main):001:0> autoload :Syslog, 'syslog'
=> nil
irb(main):002:0> require 'syslog'
and get a lot of error messages about already initialized constants.
Also, syslog.so appears twice in $".
It can get even worse if you have a couple of autoloads for the same class.
With 1.8.4 this problem didn't exist.
Cheers,
Han Holl