remove warning about deprecated function
This commit is contained in:
parent
2ae6b37c9a
commit
d18ed567aa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue