You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2012/09/23 01:35:48 UTC
svn commit: r1388925 - /buildr/trunk/lib/buildr/core/application.rb
Author: donaldp
Date: Sat Sep 22 23:35:48 2012
New Revision: 1388925
URL: http://svn.apache.org/viewvc?rev=1388925&view=rev
Log:
Use RbConfig instead of obsolete and deprecated Config.
Modified:
buildr/trunk/lib/buildr/core/application.rb
Modified: buildr/trunk/lib/buildr/core/application.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/application.rb?rev=1388925&r1=1388924&r2=1388925&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/application.rb (original)
+++ buildr/trunk/lib/buildr/core/application.rb Sat Sep 22 23:35:48 2012
@@ -593,7 +593,7 @@ end
HighLine.use_color = false
if $stdout.isatty
begin
- require 'Win32/Console/ANSI' if Config::CONFIG['host_os'] =~ /mswin|win32|dos|cygwin|mingw/i
+ require 'Win32/Console/ANSI' if RbConfig::CONFIG['host_os'] =~ /mswin|win32|dos|cygwin|mingw/i
HighLine.use_color = true
rescue LoadError
end