diff --git a/ChangeLog b/ChangeLog index f72429bf12..28f2e0a349 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,7 @@ Sun Mar 3 01:17:20 2013 Nobuyoshi Nakada * lib/rubygems/ext/ext_conf_builder.rb - (Gem::Ext::ExtConfBuilder.hack_for_obsolete_sytle_gems): remove + (Gem::Ext::ExtConfBuilder.hack_for_obsolete_style_gems): remove circular dependencies for old style gems which locate extconf.rb on the toplevel. [ruby-core:53059] [ruby-trunk - Bug #7698] diff --git a/lib/rubygems/ext/ext_conf_builder.rb b/lib/rubygems/ext/ext_conf_builder.rb index f3fc5d8e30..67f1e08a8c 100644 --- a/lib/rubygems/ext/ext_conf_builder.rb +++ b/lib/rubygems/ext/ext_conf_builder.rb @@ -11,7 +11,7 @@ require 'tempfile' class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder - def self.hack_for_obsolete_sytle_gems(directory) + def self.hack_for_obsolete_style_gems(directory) return unless directory and File.identical?(directory, ".") mf = Gem.read_binary 'Makefile' changed = false @@ -40,7 +40,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder run cmd, results - hack_for_obsolete_sytle_gems directory + hack_for_obsolete_style_gems directory make dest_path, results