I got these string of errors in the order reported also. I solved this by editing the following files: ...prefix.../ruby/gems/1.8/gems/rspec-1.0.8/lib/spec/rake/verify_rcov.rb ...prefix.../ruby/1.8/rexml/formatters/pretty.rb Plus the files already patched by this point. It seems like if your stack trace says formatters/default.rb instead of formatters/pretty.rb then that is the file you need to patch. My formatters/pretty.rb patch looks like the following: > place = string.rindex(' ', width) || width # Position in string with last ' ' before cutoff < place = string.rindex(' ', width) # Position in string with last ' ' before cutoff My rake/verify_rcov.rb patch looks like: > if line =~ /<tt class='coverage_total'> (\d+\.\d+)% <\/tt> <\/td>/ < if line =~ /<tt.*?>(\d+\.\d+)%<\/tt> <\/td>/ Hope that helps someone, Susan unknown wrote: > Ive also applied both fixes and Im seeing exactly the same problem. > Any updates on this? > > /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]': no >> `write_element' >> from /usr/local/lib/ruby/1.8/rexml/formatters/default.rb:31:in `write' >> ... 16 levels... > > Thanks, -- Posted via http://www.ruby-forum.com/.