[BioRuby] superclass mismatch for class EMBL

Mitsuteru Nakao n at bioruby.org
Fri Apr 14 01:56:55 UTC 2006


To jan,

2006/4/13, jan aerts (RI) <jan.aerts at bbsrc.ac.uk>:
> When trying to run 'ruby embl.rb' in the lib/bio/db/embl/ directory, I
> get a 'superclass mismatch' error:
>   embl.rb:54: superclass mismatch for class EMBL (TypeError)
>
> That line 54 reads: class EMBL < EMBLDB

The error indicates inconsistency between  the class EMBL defined in
"./embl.rb" and  the class EMBL that "ruby" command used.

You can get off the error by setting the load-path.

 ruby -I../../../../lib embl.rb



Best,
Mitsuteru
-
Mitsuteru NAKAO <n at bioruby.org>




More information about the BioRuby mailing list