core: use env var for bundle retries [GH-6705]
This commit is contained in:
parent
05c2d439ac
commit
0de44a116b
|
@ -2,6 +2,7 @@
|
|||
|
||||
BUG FIXES:
|
||||
|
||||
- core: Don't create ".bundle" directory in pwd [GH-6717]
|
||||
- core: Fix exception on installing VirtualBox [GH-6713]
|
||||
- guests/debian: Fix Docker install [GH-6722]
|
||||
- provisioners/chef: convert chef version to a string before comparing for
|
||||
|
|
|
@ -43,9 +43,6 @@ module Vagrant
|
|||
yield
|
||||
end
|
||||
end
|
||||
|
||||
# Configure Bundler to retry
|
||||
::Bundler.settings[:retry] = 3
|
||||
end
|
||||
|
||||
# Initializes Bundler and the various gem paths so that we can begin
|
||||
|
@ -77,6 +74,7 @@ module Vagrant
|
|||
env["BUNDLE_APP_CONFIG"] = @appconfigpath
|
||||
env["BUNDLE_CONFIG"] = @configfile.path
|
||||
env["BUNDLE_GEMFILE"] = @gemfile.path
|
||||
env["BUNDLE_RETRY"] = "3"
|
||||
env["GEM_PATH"] =
|
||||
"#{bundle_path}#{::File::PATH_SEPARATOR}#{@gem_path}"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue