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

require rubygems/package where used

* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is
  required.  fix the failure of `gem unpack` command.

* lib/rubygems/source/local.rb: ditto.

* lib/rubygems/source/specific_file.rb: ditto.
This commit is contained in:
Nobuyoshi Nakada 2019-06-07 22:34:28 +09:00
parent 6566919176
commit b76630f73e
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
3 changed files with 5 additions and 0 deletions

View file

@ -3,6 +3,7 @@ require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/security_option'
require 'rubygems/remote_fetcher'
require 'rubygems/package'
# forward-declare

View file

@ -3,6 +3,8 @@
# The local source finds gems in the current directory for fulfilling
# dependencies.
require 'rubygems/package'
class Gem::Source::Local < Gem::Source
def initialize # :nodoc:

View file

@ -3,6 +3,8 @@
# A source representing a single .gem file. This is used for installation of
# local gems.
require 'rubygems/package'
class Gem::Source::SpecificFile < Gem::Source
##