From bbad82c5d29824938da82cddbd2290e10d36f629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Thu, 22 Nov 2012 20:04:19 +0100 Subject: [PATCH] this should restore compatibillity with ruby below 1.9.3-p125, not sure if we should hotfix this, if anyone wants to... --- script/get_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/get_config.rb b/script/get_config.rb index b9b6d6cdb35..e2764431249 100755 --- a/script/get_config.rb +++ b/script/get_config.rb @@ -34,7 +34,7 @@ def self.env var, setting_name = arg.split("=") setting_name = var unless setting_name setting = AppConfig.send(setting_name) - setting = setting.get if setting.is_a?(Configuration::Proxy) + setting = setting.get if setting.respond_to?(:_proxy?) if var != setting_name puts "#{var}=#{setting}" else