Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid rdoc hook when it's failed to load rdoc library. #2604

Merged
1 commit merged into from Jan 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/rubygems/rdoc.rb
Expand Up @@ -18,7 +18,7 @@
module Gem
RDoc = ::RDoc::RubygemsHook
end

Gem.done_installing(&Gem::RDoc.method(:generation_hook))
rescue LoadError
end

Gem.done_installing(&Gem::RDoc.method(:generation_hook))