1 applicattion.rb 配置
2 environment.rb
include ExceptionNotifiable
consider_local "127.0.0.1", "192.168.1.109"
2 environment.rb
ExceptionNotifier.sender_address = %("Project Application Error" <email@email.com>)
ExceptionNotifier.email_prefix = "[Project Error] "
ExceptionNotifier.exception_recipients = %w(email@email.com)