On Sat, 07 Feb 2009 10:51:23 -0500, Roger Pack wrote:

> def go
>  go2
> end
> 
> def go2
>  go
> end
> go

def go
 go2
end

def go2
 go
end

begin
  go
rescue StandardError => e
  require 'pp'
  pp e.backtrace
end

will print all the levels, so what you should probably do is submit a 
patch to Rails or Rake to explicitly catch the exception and customize 
the output (possibly by grepping out things internal to rails and rake, 
or by printing more levels there.)

--Ken

-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/