1 From c16675582a68800ef17b6056110e0a8bcdb38b55 Mon Sep 17 00:00:00 2001
2 From: SHIBATA Hiroshi <hsbt@ruby-lang.org>
3 Date: Tue, 22 Jan 2019 09:37:23 +0900
4 Subject: [PATCH] Avoid rdoc hook when it's failed to load rdoc library.
8 lib/rubygems/rdoc.rb | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/lib/rubygems/rdoc.rb b/lib/rubygems/rdoc.rb
12 index dfaf7c55bf..4e16fbb86f 100644
13 --- a/lib/rubygems/rdoc.rb
14 +++ b/lib/rubygems/rdoc.rb
17 RDoc = ::RDoc::RubygemsHook
20 + Gem.done_installing(&Gem::RDoc.method(:generation_hook))
24 -Gem.done_installing(&Gem::RDoc.method(:generation_hook))