[前][次][番号順一覧][スレッド一覧]

ruby-reference-manual:480

From: Yugui <yugui@y...>
Date: Thu, 27 Sep 2007 21:04:55 +0900
Subject: [ruby-reference-manual:480] File::Constantsでbitclust updateできない?

Yuguiといいます。
遅まきながら、作業に参加しました。

次のようにしたところ、File::Constantsでbitclustが例外を生じます。何か使い方間違ってますでしょうか。

% bitclust -d var/db init encoding=EUC version=1.8
% bitclust -d var/db update --stdlibtree=rubydoc/refm/api/src
rubydoc/refm/api/src/open-uri.rd:89: dynamic include is not implemented yet
rubydoc/refm/api/src/open-uri.rd:92: dynamic include is not implemented yet
rubydoc/refm/api/src/tk/TkCore__INTERP:1: singleton object class not
implemented yet

% bitclust -d var/db update rubydoc/refm/api/src/_builtin.rd
/Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/database.rb:265:in
`get_class': must not happen: "File::Constant", "File=Constant"
(RuntimeError)
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:354:in
`include'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:166:in
`read_includes'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/lineinput.rb:113:in
`while_match'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:164:in
`read_includes'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:130:in
`read_class_body'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:85:in
`read_classes'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/lineinput.rb:113:in
`while_match'
	from /Users/yugui/local/lib/ruby/site_ruby/1.8/bitclust/rrdparser.rb:80:in
`read_classes'
	 ... 10 levels...
	from /Users/yugui/local/bin/bitclust:193:in `exec'
	from /Users/yugui/local/bin/bitclust:102:in `_main'
	from /Users/yugui/local/bin/bitclust:30:in `main'
	from /Users/yugui/local/bin/bitclust:508


ちなみに、環境は次のような感じです。
% uname -a
Darwin yugui-macbook.local 8.10.1 Darwin Kernel Version 8.10.1: Wed
May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
% ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-darwin8.10.1]

-- 
Yugui
yugui@y...
http://idm.s9.xrea.com

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]