Forum: Ruby Getting more descriptive ERB errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ccfe7d097475a32dc3ff78d6fc42c852?d=identicon&s=25 List Recv (lstrecv)
on 2006-03-07 00:16
(Received via mailing list)
I see that Rails provides very useful and descriptive ERB errors,
showing exactly which part of the template caused the error.

Is there anyway I can get this behavior for general (non
rails/ActionView) erb templates?  I'm not opposed to requiring or
mixing in certain chunks of rails (or even copying and pasting code) -
just not sure how.

(Also, I know Rails has compilation and caching - anyway to do this?)
This topic is locked and can not be replied to.