Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > f370bccb9fb9a335d6f2168e164f4eca > files > 3

ruby-dict-0.9.4-12.mga6.src.rpm

--- ruby-dict-0.9.4/install.rb~	2002-01-11 09:04:53.000000000 +0000
+++ ruby-dict-0.9.4/install.rb	2016-01-02 22:50:54.638402302 +0000
@@ -45,7 +45,7 @@
 
 class ConfigTable
 
-  c = ::Config::CONFIG
+  c = ::RbConfig::CONFIG
 
   rubypath = c['bindir'] + '/' + c['ruby_install_name']
 
@@ -695,7 +695,7 @@
         "no extention exists: Have you done 'ruby #{$0} setup' ?"
   end
 
-  DLEXT = /\.#{ ::Config::CONFIG['DLEXT'] }\z/
+  DLEXT = /\.#{ ::RbConfig::CONFIG['DLEXT'] }\z/
 
   def _allext( dir )
     Dir.open( dir ) {|d|