From: Jim Flanagan Date: 2008-07-17T05:01:39+09:00 Subject: Re: REXML (1.8.6-p110) backwards compatibility problem with Thanks Susan. For the record, I'm running "rake test:functionals" on a Rails 2.1 project using: ruby 1.8.7-p22 from Macports 1.600 on OS X (Tiger) rcov 0.8.1.2.0 and getting the error: /opt/local/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `[]': no implicit conversion from nil to integer (TypeError) until I applied the patch below to pretty.rb S. Potter wrote: > My formatters/pretty.rb patch looks like the following: >> place = string.rindex(' ', width) || width # Position in string with last ' ' before cutoff -- Posted via http://www.ruby-forum.com/.