Forum: Ruby Getting more descriptive ERB errors

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
List R. (Guest)
on 2006-03-07 01: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.