From: ts Date: 2002-08-23T21:47:19+09:00 Subject: Re: new ruby from cvs >>>>> "E" == Eugene Scripnik writes: E> /usr/local/lib/ruby/1.7/auto-reload.rb:53: warning: no super class E> for `SQL::Error', Object assumed E> /usr/local/lib/ruby/1.7/auto-reload.rb:53: warning: no super class E> for `SQL::PGConn', Object assumed Have you stopped and restarted your server after the installation of the new version of ruby ? It seems to work fine, with me pigeon% cat aa.c #include "ruby.h" void Init_aa() { VALUE aa_mSQL, aa_eError, aa_cPG; aa_mSQL = rb_define_module("SQL"); aa_eError = rb_define_class_under(aa_mSQL, "Error", rb_eRuntimeError); aa_cPG = rb_define_class_under(aa_mSQL, "PGConn", rb_cObject); } pigeon% pigeon% ruby -raa -ve 1 ruby 1.7.2 (2002-08-23) [i686-linux] -e:1: warning: useless use of a literal in void context pigeon% Guy Decoux