summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2010-01-11 15:23:41 +0100
committerChristoph Helma <helma@in-silico.de>2010-01-11 15:23:41 +0100
commitcba55e685015d997b51630652160338e0065b460 (patch)
treeb017dfaa2b25172bbf579402f32f573d2ab19bd9 /config.ru
parent8b7c1006a4502f22575115bedabca15133b424b3 (diff)
Task creation under passenger fixed
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru10
1 files changed, 6 insertions, 4 deletions
diff --git a/config.ru b/config.ru
index 63dd2ce..73f7108 100644
--- a/config.ru
+++ b/config.ru
@@ -10,10 +10,12 @@ $stdout.reopen(log)
$stderr.reopen(log)
if ENV['RACK_ENV'] == 'production'
- use Rack::MailExceptions do |mail|
- mail.to 'helma@in-silico.ch'
- mail.subject '[ERROR] %s'
- end
+ use Rack::Reloader
+ use Rack::ShowExceptions
+# use Rack::MailExceptions do |mail|
+# mail.to 'helma@in-silico.ch'
+# mail.subject '[ERROR] %s'
+# end
elsif ENV['RACK_ENV'] == 'development'
use Rack::Reloader
use Rack::ShowExceptions