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:
Timur Alperovich 2015-11-24 12:18:50 -08:00
parent 7a1d17042d
commit 5b910c186c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module Vagrant
# we add all our plugin dependencies.
@gemfile = build_gemfile(plugins)
SafeEnv.change_env do |env|
Util::SafeEnv.change_env do |env|
# Set the environmental variables for Bundler
env["BUNDLE_APP_CONFIG"] = @appconfigpath
env["BUNDLE_CONFIG"] = @configfile.path