21 lines
440 B
Diff
21 lines
440 B
Diff
--- a/ruby/install.rb
|
|
+++ b/ruby/install.rb
|
|
@@ -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|
|