okkez です。

DBM::VERSION という定数の定義がおかしいような気がします。

1.8.7 でも 1.9.0 と同じようにするのが良いと思うのですがいかがでしょうか?
# もう手遅れでしょうか?

1.8.0-1.8.7 でこのような warning が出るのは意図した動作でしょうか?
リファレンスマニュアルの説明にこの動作について注記したいので
アドバイスいただけないでしょうか?

% forall-ruby -rdbm -e 'p DBM::VERSION'      ruby 1.8.0 (2003-08-04)
[i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.0"
ruby 1.8.1 (2003-12-25) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.1"
ruby 1.8.2 (2004-12-25) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.2"
ruby 1.8.3 (2005-09-21) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.3"
ruby 1.8.4 (2005-12-24) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.4"
ruby 1.8.5 (2008-03-03 patchlevel 115) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.5"
ruby 1.8.6 (2008-03-03 patchlevel 114) [i486-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.6"
ruby 1.8.6 (2008-03-03 patchlevel 114) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.6"
ruby 1.8.7 (2008-04-30 patchlevel 5000) [i686-linux]
-e:1: warning: toplevel constant VERSION referenced by DBM::VERSION
"1.8.7"
ruby 1.9.0 (2007-12-25 revision 14709) [i686-linux]
"unknown"
ruby 1.9.0 (2008-05-01 revision 16261) [i686-linux]
"unknown"


-- 
okkez
okkez000 / gmail.com