REXML Error when running rcov
Rcov is one of the tools we use at eSpace to measure automated tests coverage for our rails applications. By rcov through gem install rcov , I had rcov(0.8.1.2.0) installed. After upgrading to the latest ubuntu 8.10, I realized that the installed rcov is not compatible with ruby 1.8.7 that i have. Rcov failed at generating the html reports with this stacktrace /usr/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]': no implicit conversion from nil to integer (TypeError) from /usr/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap' from /usr/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap' from /usr/lib/ruby/1.8/rexml/formatters/pretty.rb:90:in `write_text' from /usr/lib/ruby/1.8/rexml/formatters/default.rb:50:in `write' from /usr/lib/ruby/1.8/rexml/formatters/pretty.rb:75:in `write_element' from /usr/lib/ruby/1.8/rexml/formatters/prett...