Freeze_edge problem

(from http://pastebin.ca/44831)
from a rails 1.0 app i did rake freeze_edge and rake rails:update.
that went fine.
when i go to the front page of my rails app I get

wrong number of arguments (2 for 3)
/var/www/somehost.net/site/public/…/config/…/vendor/rails/railties/lib/dispatcher.rb:63:in
failsafe_response' /var/www/somehost.net/site/public/../config/../vendor/rails/railties/lib/dispatcher.rb:63:in new_cgi’
/var/www/somehost.net/site/public/…/config/…/vendor/rails/railties/lib/dispatcher.rb:35:in
`dispatch’
/var/www/somehost.net/site/public/dispatch.cgi:10

dispatch.rb lines 62-64
62: def new_cgi(output)
63: failsafe_response(output, ‘400 Bad Request’) { CGI.new }
64: end

dispatch.rb lines 88-89
88: def failsafe_response(output, status, exception)
89: yield

the argument count mis-match seems clear. any idea what i can do to
resolve this?