diff options
author | ch <ch@toxcreate.in-silico.ch> | 2010-05-21 17:42:54 +0200 |
---|---|---|
committer | ch <ch@toxcreate.in-silico.ch> | 2010-05-21 17:42:54 +0200 |
commit | ae96cc17613281d053cea06f4adbb98c1a3afe8f (patch) | |
tree | 35e9e0c58a37cd2f58ec2586ea06e29affc3b685 /lib | |
parent | 30bbcbb75063386c6609a75337aad59ce95dbd73 (diff) |
check for MAIL constant fixed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config/config_ru.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/config_ru.rb b/lib/config/config_ru.rb index 34dfdf1..3d8dce2 100644 --- a/lib/config/config_ru.rb +++ b/lib/config/config_ru.rb @@ -18,7 +18,7 @@ set :raise_errors, true end use Rack::ShowExceptions -if MAIL +if defined?(MAIL) # monkeypatch with the original method # strangely enough my mailserver returns "Connection refused - connect(2)" errors without this patch |