1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove deprecated + broken rubygems/source_local.

It has been deprecated for 3 years, and has been broken for that entire
period. (It required itself, instead of `rubygems/source/local`.)

Closes #3158.

2f01a272d0
This commit is contained in:
Ellen Marie Dash 2020-03-26 16:43:51 -04:00 committed by Hiroshi SHIBATA
parent 9d5e7d6c67
commit 293c6d9b61

View file

@ -1,7 +0,0 @@
# frozen_string_literal: true
require 'rubygems/source'
require 'rubygems/source_local'
unless Gem::Deprecate.skip
Kernel.warn "#{Gem.location_of_caller(3).join(':')}: Warning: Requiring rubygems/source_local is deprecated; please use rubygems/source/local instead."
end