Skip to content
Browse files

this should restore compatibillity with ruby below 1.9.3-p125, not su…

…re if we should hotfix this, if anyone wants to...
  • Loading branch information...
1 parent 6ccdb40 commit bbad82c5d29824938da82cddbd2290e10d36f629 @jhass jhass committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/get_config.rb
View
2 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

0 comments on commit bbad82c

Please sign in to comment.
Something went wrong with that request. Please try again.