summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-02 04:59:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-02 04:59:27 +0000
commit5bdee08c1e48c0fa731cae9469e09355c0e576f4 (patch)
tree6658ddfb3e43226644dccf4874b7b9fc258ce5f4
parent6a08bd96240b09a7625736e48c6ea4c68dd34b3c (diff)
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
obsolete. reapplied r24599. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--lib/rdoc/ri/paths.rb3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e20c185366..600443a1c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
-Fri Apr 2 13:57:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+Fri Apr 2 13:59:17 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been
+ obsolete. reapplied r24599.
* lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb
index f2d65d9ce0..8ea260891b 100644
--- a/lib/rdoc/ri/paths.rb
+++ b/lib/rdoc/ri/paths.rb
@@ -54,8 +54,7 @@ module RDoc::RI::Paths
def self.gemdirs
return @gemdirs if @gemdirs
- 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 = []