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 | 0a8511d457d3bb9f16de5fe9f85b887326f4ea8d (patch) | |
tree | ef4006532ea75f4f9315f91fcc82ca42beed9604 | |
parent | 15a3a273ccb4e8e9dd687db543e47d179435cd12 (diff) | |
download | ruby-0a8511d457d3bb9f16de5fe9f85b887326f4ea8d.tar.gz ruby-0a8511d457d3bb9f16de5fe9f85b887326f4ea8d.tar.xz ruby-0a8511d457d3bb9f16de5fe9f85b887326f4ea8d.zip |
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/rdoc/ri/paths.rb | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Aug 21 00:08:01 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete. + Thu Aug 20 23:56:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal. 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 = [] |