Alexey Verkhovsky wrote:
>   puts e.backtrace.join("\n  ")

puts e.backtrace

puts will automatically insert the platform-dependent line-break for 
you.  (Note that join("\n") is not sufficient to produce proper 
line-breaks on Windows).
-- 
Posted via http://www.ruby-forum.com/.