also __FILE__ did not reflect configuration file path
---
lib/unicorn/configurator.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb
index c7afece..80584f0 100644
--- a/lib/unicorn/configurator.rb
+++ b/lib/unicorn/configurator.rb
@@ -91,7 +91,7 @@ module Unicorn
end
def reload #:nodoc:
- instance_eval(File.read(config_file)) if config_file
+ instance_eval(File.read(config_file), config_file) if config_file
end
def commit!(server, options = {}) #:nodoc:
--
1.6.3.1
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain
confidential information. Any unauthorized review, use, disclosure or
distribution
is prohibited. If you are not the intended recipient, please contact the
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
mongrel-unicorn mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn