From d18ed567aaa5da23c9e91ab87f360e7bf6760f13 Mon Sep 17 00:00:00 2001 From: Edmundo Sanchez Date: Thu, 9 Jan 2020 12:05:57 -0600 Subject: [PATCH] remove warning about deprecated function --- lib/vagrant/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/bundler.rb b/lib/vagrant/bundler.rb index 7ba48435f..62ac456f1 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -425,7 +425,7 @@ module Vagrant runtime_dependencies.each { |d| gem d.name, *d.requirement.as_list } # discover all the gems we have available list = {} - directories = [Gem::Specification.default_specifications_dir] + directories = [Gem.default_specifications_dir] Gem::Specification.find_all{true}.each do |spec| list[spec.full_name] = spec end