summaryrefslogtreecommitdiff
path: root/lib/rubygems/rdoc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/rdoc.rb')
-rw-r--r--lib/rubygems/rdoc.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/rubygems/rdoc.rb b/lib/rubygems/rdoc.rb
index 4e16fbb86f..c40bb7d9f1 100644
--- a/lib/rubygems/rdoc.rb
+++ b/lib/rubygems/rdoc.rb
@@ -2,18 +2,6 @@
require 'rubygems'
begin
- gem 'rdoc'
-rescue Gem::LoadError
- # swallow
-else
- # This will force any deps that 'rdoc' might have
- # (such as json) that are ambiguous to be activated, which
- # is important because we end up using Specification.reset
- # and we don't want the warning it pops out.
- Gem.finish_resolve
-end
-
-begin
require 'rdoc/rubygems_hook'
module Gem
RDoc = ::RDoc::RubygemsHook