Forum: Ruby on Rails Logging / Email error notification

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.
B52fbe2d0e6afaed993636bda36b711b?d=identicon&s=25 Greg A. (akinsgre)
on 2014-01-21 16:26
(Received via mailing list)
I'd like to implement something in my application where the last n lines
the development log are included in an email when an error occurs.

Right now the application triggers an email using an application
method that has be inserted into a rescue block.

Maybe I should just use "File" to grab the tail end of the
file and insert it into the email?

But I'm wondering if maybe there is a better approach or if anyone has a
gem that does this automatically.

Greg Akins
Insomnia Consulting, LLC
724 454 7790 (cell)
084119ba0f1d544b3fa6a18f7d53090b?d=identicon&s=25 Prince J. (prince_j)
on 2014-01-21 19:46
(Received via mailing list)
You could use exception_notification gem for this. Link here

On Tue, Jan 21, 2014 at 8:54 PM, Greg Akins <> wrote:

> gem that does this automatically.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> To post to this group, send email to
> To view this discussion on the web visit
> .
> For more options, visit

This topic is locked and can not be replied to.