aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-08-23 23:09:35 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-23 23:10:36 -0300
commitbb75c337543a310ac6bed6f8e3287acf1592dac1 (patch)
tree5c2bd4eaecc7b7160302c891efe7d73a0302915b /activesupport/lib/active_support/core_ext
parent6f4d100761f3dd453e9049837c61d6cf025fc03c (diff)
downloadrails-bb75c337543a310ac6bed6f8e3287acf1592dac1.tar.gz
rails-bb75c337543a310ac6bed6f8e3287acf1592dac1.tar.bz2
rails-bb75c337543a310ac6bed6f8e3287acf1592dac1.zip
Config is deprecated on 1.8.8 and 1.9.3 use RbConfig
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/kernel/reporting.rb2
1 files changed, 1 insertions, 1 deletions
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