Revert 3f9fb2ef03a78bc9177a52d4629a5e80e6e42b2e from GH-2769

- For compatibility with ba77d4b533e449fa610531a7832b8fd1837eb9db

Fixes GH-7073
This commit is contained in:
Karl Isenberg 2016-05-31 14:47:40 -07:00
parent e2fd0dd792
commit f084fc7d78

View File

@ -271,7 +271,6 @@ module Vagrant
Gem.paths = ENV
# Reset the all specs override that Bundler does
old_all = Gem::Specification._all
Gem::Specification.reset
# /etc/gemrc and so on.
@ -299,7 +298,6 @@ module Vagrant
Gem.configuration = old_config
Gem.paths = ENV
Gem::Specification.all = old_all
end
# This method returns a proper "tempfile" on disk. Ruby's Tempfile class