mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Remove unneeded code
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.
This commit is contained in:
parent
7325bed2b4
commit
dd1bfbc061
Notes:
git
2020-06-17 21:17:31 +09:00
1 changed files with 0 additions and 12 deletions
|
@ -1,18 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue