Trying to run the 'spec:rcov' task and failing with error below.
I saw a post from last year with a different REXML error but it was a FixNum
issue.
Any help appreciated.
S
OS X
Ruby 1.8.6
Rails 2.02
RSpec-1.1.3 (build 20080131122909)
REXML 3.1.6
=====
876 examples, 0 failures, 87 pending
/opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:155:in `check': Illegal
character '<' in raw string " (RuntimeError)
// <![CDATA[
function toggleCode( id ) {
if ( document.getElementById )
elem = document.getElementById( id );
else if ( document.all )
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
// Make cross-references hidden by default
document.writeln( "<style type=\"text/css\">span.cross-ref { display: none
}</style>" )
// ]]>
" from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `each'
from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:153:in `check'
from /opt/local/lib/ruby/site_ruby/1.8/rexml/text.rb:125:in
`parent='
from /opt/local/lib/ruby/site_ruby/1.8/rexml/parent.rb:19:in `<<'
from (eval):161:in `<<'
from (eval):112:in `create'
from (eval):372:in `h_'
from
/opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov/report.rb:746:in
`create_index'
... 28 levels...
from
/opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in
`dump_coverage_info'
from
/opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in `each'
from
/opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/lib/rcov.rb:628:in
`dump_coverage_info'
from /opt/local/lib/ruby/gems/1.8/gems/rcov-0.8.0.2/bin/rcov:405
$
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users