Displaying 1 result from an estimated 1 matches for "89cbf5c".
Did you mean:
59cbcf5c
2012 Mar 22
1
[PATCH] make stderr_path/stdout_path support IO objects directly
---
lib/unicorn/configurator.rb | 2 +-
lib/unicorn/http_server.rb | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index 89cbf5c..c9b6816 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -559,7 +559,7 @@ private
def set_path(var, path) #:nodoc:
case path
- when NilClass, String
+ when NilClass, String, IO
set[var] = path
else
raise ArgumentError
diff --git a/lib...