diff options
Diffstat (limited to 'lib')
| -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 bce71b46f..562720c37 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 = [] |
