D
Daniel Berger
Hi,
Ruby 1.8.2
Rubygems 0.8.10
Syck 0.55
Solaris 10
I installed the dbi-dbrc package via gems. However, if I run this
simple script, I get a slew of warnings if I run with -d or -w:
# gemtest.rb
require "dbi/dbrc"
djberge@~/programming/ruby-645>ruby -w gemstest.rb
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
/usr/local/lib/ruby/site_ruby/1.8/yaml/types.rb:14: warning: method
redefined; discarding old initialize
/usr/local/lib/ruby/site_ruby/1.8/yaml/types.rb:29: warning: method
redefined; discarding old initialize
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
I can get rid of them by doing "require 'rubygems'", followed by
"require_gem ... ", but I thought I should mention this.
Regards,
Dan
Ruby 1.8.2
Rubygems 0.8.10
Syck 0.55
Solaris 10
I installed the dbi-dbrc package via gems. However, if I run this
simple script, I get a slew of warnings if I run with -d or -w:
# gemtest.rb
require "dbi/dbrc"
djberge@~/programming/ruby-645>ruby -w gemstest.rb
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):14: warning: redefine tag_subclasses?
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
/usr/local/lib/ruby/site_ruby/1.8/yaml/types.rb:14: warning: method
redefined; discarding old initialize
/usr/local/lib/ruby/site_ruby/1.8/yaml/types.rb:29: warning: method
redefined; discarding old initialize
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
(eval):2: warning: method redefined; discarding old taguri
I can get rid of them by doing "require 'rubygems'", followed by
"require_gem ... ", but I thought I should mention this.
Regards,
Dan