shadabahmed / logstasher

Awesome rails logs
MIT License
818 stars 136 forks source link

uninitialized constant ActionMailer::LogSubscriber #49

Closed LYY closed 10 years ago

LYY commented 10 years ago

My simple project didn't need to sending email, so I didn't config any email settings. But when I used logstasher, there was an error here:

lib/logstasher.rb:24:in `block in remove_existing_log_subscriptions': uninitialized constant ActionMailer::LogSubscriber (NameError)

I tried many settings, when I added ActionMailer::Base.delivery_method = :smtp to my env file before logstasher config, everything worked well.

jasiek commented 10 years ago

Useful to know - thanks, I'll try to add a fix soon-ish.

jasiek commented 10 years ago

@shadabahmed Can you cut a new release?

jasiek commented 9 years ago

@shadabahmed ^^^