ruby-reference-manual:2141
From: Ippei Obayashi <redmine@r...>
Date: Sun, 18 Apr 2010 17:53:28 +0900
Subject: [ruby-reference-manual:2141] [Bug #3166] bin/refe.rb が例外を出して止まる
Bug #3166: bin/refe.rb が例外を出して止まる http://redmine.ruby-lang.org/issues/show/3166 起票者: Ippei Obayashi ステータス: Open, 優先度: Normal カテゴリ: bitclust bin/refe.rb が以下のような例外を出して止まります。 $ ruby bin/refe.rb -d ./db-1.8.7 /home/ohai/src/bitclust/lib/bitclust/searcher.rb:204:in `search_pattern': uninitialized constant BitClust::Searcher::FunctionDatabase (NameError) from /home/ohai/src/bitclust/lib/bitclust/searcher.rb:93:in `exec' from bin/refe.rb:26:in `_main' from bin/refe.rb:18:in `main' from bin/refe.rb:36 $ ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] 以下の修正でとりあえず動くようです。 diff -r 6de2620d1da9 lib/bitclust/searcher.rb --- a/lib/bitclust/searcher.rb Sun Apr 18 17:31:38 2010 +0900 +++ b/lib/bitclust/searcher.rb Sun Apr 18 17:32:57 2010 +0900 @@ -8,6 +8,7 @@ # require 'bitclust/methoddatabase' +require 'bitclust/functiondatabase' require 'bitclust/nameutils' require 'bitclust/methodid' require 'bitclust/exception' ---------------------------------------- http://redmine.ruby-lang.org -- ML: ruby-reference-manual@m... 使い方: http://QuickML.com/
-> 2141 2010-04-18 10:53 [redmine@r... ] [Bug #3166] bin/refe.rb が例外を出して止まる 2142 2010-04-18 13:16 ┣[redmine@r... ] 2143 2010-04-18 14:18 ┗[redmine@r... ] [Bug #3166](Closed) bin/refe.rb が例外を出して止まる