Bugs: Browse | Submit New | Admin
lib/erubis/helpers/rails_helper.rb:353 > $stdout.puts "** Erubis #{::Erubis::VERSION}" if rails22 seems unnecessary. Why is it there? It prints out "** Erubis 2.6.6" for many rake tasks. Here's a patch to remove it. After removal, the version is still logged, if it's at all desirable.
Add A Comment:
Date: 2011-01-17 06:52 Sender: Will Bryant This is a big enough problem for us to not switch our application to erubis. There's no way for us to turn this message off, and it breaks all our application scripts which we run to produce output files - now there'd be junk at the start. It also results in hundreds of annoying messages from cron when it runs the scripts that load erubis and rails. +1 for removal. The patch works for me.
Date: 2010-12-10 02:34 Sender: Glenn Rempe +1 for removal. I submitted a bug to the erubis_rails_helper repo and the following commit was made there. I assume that is the upstream repository for this? Not sure. Bug Report detailing the issue: https://github.com/elkinsware/erubis_rails_helper/issues/closed#i ssue/1 Commit: https://github.com/elkinsware/erubis_rails_helper/commit/5af96b8f 57a981c5144d247dbe6981f1efbd0c5a Thank you.