From ba77d4b533e449fa610531a7832b8fd1837eb9db Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Thu, 21 Apr 2016 22:59:59 +0200 Subject: [PATCH] Allow Vagrant to work with newer Rubygems Fixes GH-7073 --- 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 ff60b327b..f6414eacd 100644 --- a/lib/vagrant/bundler.rb +++ b/lib/vagrant/bundler.rb @@ -265,7 +265,7 @@ module Vagrant # Reset the all specs override that Bundler does old_all = Gem::Specification._all - Gem::Specification.all = nil + Gem::Specification.reset # /etc/gemrc and so on. old_config = nil