Fix the resolution of SafeEnv.
Recent change broke bundler.rb due to incorrect scope resolution (the error is: uninitialized constant Vagrant::Bundler::SafeEnv (NameError).
This commit is contained in:
parent
7a1d17042d
commit
5b910c186c
|
@ -72,7 +72,7 @@ module Vagrant
|
||||||
# we add all our plugin dependencies.
|
# we add all our plugin dependencies.
|
||||||
@gemfile = build_gemfile(plugins)
|
@gemfile = build_gemfile(plugins)
|
||||||
|
|
||||||
SafeEnv.change_env do |env|
|
Util::SafeEnv.change_env do |env|
|
||||||
# Set the environmental variables for Bundler
|
# Set the environmental variables for Bundler
|
||||||
env["BUNDLE_APP_CONFIG"] = @appconfigpath
|
env["BUNDLE_APP_CONFIG"] = @appconfigpath
|
||||||
env["BUNDLE_CONFIG"] = @configfile.path
|
env["BUNDLE_CONFIG"] = @configfile.path
|
||||||
|
|
Loading…
Reference in New Issue