Ruby 1.8でci_reporterを使うと以下のようにエラーが発生.
builderを入れているにもかかわらず,エラーが発生します.
原因は単にrequire "rubygems"が抜けている(というか,1.9以降で作られている?)ので
test_suite.rb:84のrequireの上辺りにrubygemsをrequireしましょう.これでおっけーです.
でも,1.8でもMacのrubyだとrubygemsのrequire省略しても動くんだよなぁ...
なんかパッチでも当ててるのかな.
./var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/testsuite.rb:84:in require': no such file to load -- builder (LoadError)
createbuilder'
from /var/lib/gems/1.8/gems/ci_reporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/test_suite.rb:84:in
from /var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/testsuite.rb:91:in `toxml'
from /var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/reportmanager.rb:18:in write_report'
open'
from /var/lib/gems/1.8/gems/ci_reporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/report_manager.rb:17:in
from /var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/reportmanager.rb:17:in write_report'
finishsuite'
from /var/lib/gems/1.8/gems/ci_reporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/test_unit.rb:145:in
from /var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/testunit.rb:105:in `teststarted'
from /var/lib/gems/1.8/gems/cireporter-1.8.4/lib/ci/reporter/rake/../../../ci/reporter/testunit.rb:7:in to_proc'
call'
from /usr/lib/ruby/1.8/test/unit/util/observable.rb:78:in
from /usr/lib/ruby/1.8/test/unit/util/observable.rb:78:in notify_listeners'
each'
from /usr/lib/ruby/1.8/test/unit/util/observable.rb:78:in
from /usr/lib/ruby/1.8/test/unit/util/observable.rb:78:in notify_listeners'
runsuite'
from /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:47:in
from /usr/lib/ruby/1.8/test/unit/testcase.rb:74:in run'
run'
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in each'
run'
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in run'
each'
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in
from /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in run'
runsuite'
from /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in
from /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in start_mediator'
start'
from /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in
from /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in run'
run'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
from /usr/lib/ruby/1.8/test/unit.rb:279
from /usr/lib/ruby/1.8/rake/raketestloader.rb:5
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -w -I"lib:test" "/usr/lib…]