diff --git a/ChangeLog b/ChangeLog index abcfd7db5c..7ed24d1208 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 21 00:08:01 2009 Nobuyoshi Nakada + + * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete. + Thu Aug 20 23:56:15 2009 Nobuyoshi Nakada * io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal. diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb index bce71b46f0..562720c379 100644 --- a/lib/rdoc/ri/paths.rb +++ b/lib/rdoc/ri/paths.rb @@ -52,8 +52,7 @@ module RDoc::RI::Paths HOMEDIR = (File.expand_path("~/.#{rdoc}") rescue nil) begin - require 'rubygems' unless defined?(Gem) and defined?(Gem::Enable) and - Gem::Enable + require 'rubygems' unless defined?(Gem) # HACK dup'd from Gem.latest_partials and friends all_paths = []