diff options
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/paths.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 = [] |