Is there any way to disable Erubis from printing "** Erubis 2.6.5" when starting the Rails environme
Posted
by Nathan
on Stack Overflow
See other posts from Stack Overflow
or by Nathan
Published on 2010-05-04T15:19:40Z
Indexed on
2010/05/06
0:18 UTC
Read the original article
Hit count: 303
I have several frequent Cron jobs that are run via Rake and the output of those jobs are e-mailed (via a MAILTO). Due to the fact that these tasks load the Rails environment (which includes Erubis) they always prints out "** Erubis 2.6.5" on startup. This means that an e-mail is always generated since Cron receives output. Is there any way to configure Erubis to cease printing this startup message to the console?
© Stack Overflow or respective owner