mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dd1bfbc061
This was added ~8 years to fix some json warning but I'm pretty sure it's not needed anymore. This has caused several issues in both ruby-core and rdoc test suite and it doesn't make much sense to me these days so let's kill it.
12 lines
219 B
Ruby
12 lines
219 B
Ruby
# frozen_string_literal: true
|
|
require 'rubygems'
|
|
|
|
begin
|
|
require 'rdoc/rubygems_hook'
|
|
module Gem
|
|
RDoc = ::RDoc::RubygemsHook
|
|
end
|
|
|
|
Gem.done_installing(&Gem::RDoc.method(:generation_hook))
|
|
rescue LoadError
|
|
end
|