Revert 3f9fb2ef03
from GH-2769
- For compatibility with ba77d4b533
Fixes GH-7073
This commit is contained in:
parent
e2fd0dd792
commit
f084fc7d78
|
@ -271,7 +271,6 @@ module Vagrant
|
||||||
Gem.paths = ENV
|
Gem.paths = ENV
|
||||||
|
|
||||||
# Reset the all specs override that Bundler does
|
# Reset the all specs override that Bundler does
|
||||||
old_all = Gem::Specification._all
|
|
||||||
Gem::Specification.reset
|
Gem::Specification.reset
|
||||||
|
|
||||||
# /etc/gemrc and so on.
|
# /etc/gemrc and so on.
|
||||||
|
@ -299,7 +298,6 @@ module Vagrant
|
||||||
|
|
||||||
Gem.configuration = old_config
|
Gem.configuration = old_config
|
||||||
Gem.paths = ENV
|
Gem.paths = ENV
|
||||||
Gem::Specification.all = old_all
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# This method returns a proper "tempfile" on disk. Ruby's Tempfile class
|
# This method returns a proper "tempfile" on disk. Ruby's Tempfile class
|
||||||
|
|
Loading…
Reference in New Issue