diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-20 15:08:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-08-20 15:08:07 +0000 |
commit | e22b92dce4dc7723cf95849edf9beb7126c63960 (patch) | |
tree | ef4006532ea75f4f9315f91fcc82ca42beed9604 /lib/rdoc | |
parent | cb5fdf4e92616cee841f9c778f0fe62b072ec856 (diff) | |
download | ruby-e22b92dce4dc7723cf95849edf9beb7126c63960.tar.gz |
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 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 = [] |