From 5bdee08c1e48c0fa731cae9469e09355c0e576f4 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 2 Apr 2010 04:59:27 +0000 Subject: * 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 --- lib/rdoc/ri/paths.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/rdoc/ri') 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 = [] -- cgit v1.2.3