From bb75c337543a310ac6bed6f8e3287acf1592dac1 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Mon, 23 Aug 2010 23:09:35 -0300 Subject: Config is deprecated on 1.8.8 and 1.9.3 use RbConfig --- activesupport/lib/active_support/core_ext/kernel/reporting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/core_ext/kernel') diff --git a/activesupport/lib/active_support/core_ext/kernel/reporting.rb b/activesupport/lib/active_support/core_ext/kernel/reporting.rb index 7c455f66d5..5105c40e4d 100644 --- a/activesupport/lib/active_support/core_ext/kernel/reporting.rb +++ b/activesupport/lib/active_support/core_ext/kernel/reporting.rb @@ -38,7 +38,7 @@ module Kernel # puts 'But this will' def silence_stream(stream) old_stream = stream.dup - stream.reopen(Config::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') + stream.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') stream.sync = true yield ensure -- cgit v1.2.3