Config disappeared in favor of RbConfig
authorGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 14 Feb 2017 13:09:08 +0000 (14:09 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Tue, 14 Feb 2017 13:09:08 +0000 (14:09 +0100)
VERSION
pre-setup.rb
setup.rb

diff --git a/VERSION b/VERSION
index a602fc9..ba24e86 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.9.4
+0.9.5b1
index 5209d93..74274e8 100644 (file)
@@ -3,7 +3,7 @@
 # Loosely based on pre-setup.rb from rbbr by Masao Mutoh.
 
 basename = "booh"
-config = Config::CONFIG
+config = RbConfig::CONFIG
 podir = srcdir_root + "/po/"
 
 # Create MO files.
index 0807023..015be10 100644 (file)
--- a/setup.rb
+++ b/setup.rb
@@ -256,7 +256,7 @@ class ConfigTable_class
 
 end
 
-c = ::Config::CONFIG
+c = ::RbConfig::CONFIG
 
 rubypath = c['bindir'] + '/' + c['ruby_install_name']
 
@@ -1246,7 +1246,7 @@ class Installer
 
   def ruby_extentions(dir)
     Dir.open(dir) {|d|
-      ents = d.select {|fname| /\.#{::Config::CONFIG['DLEXT']}\z/ =~ fname }
+      ents = d.select {|fname| /\.#{::RbConfig::CONFIG['DLEXT']}\z/ =~ fname }
       if ents.empty?
         setup_rb_error "no ruby extention exists: 'ruby #{$0} setup' first"
       end