remove warning about deprecated function

This commit is contained in:
Edmundo Sanchez 2020-01-09 12:05:57 -06:00
parent 2ae6b37c9a
commit d18ed567aa
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ module Vagrant
runtime_dependencies.each { |d| gem d.name, *d.requirement.as_list } runtime_dependencies.each { |d| gem d.name, *d.requirement.as_list }
# discover all the gems we have available # discover all the gems we have available
list = {} list = {}
directories = [Gem::Specification.default_specifications_dir] directories = [Gem.default_specifications_dir]
Gem::Specification.find_all{true}.each do |spec| Gem::Specification.find_all{true}.each do |spec|
list[spec.full_name] = spec list[spec.full_name] = spec
end end