core: Force bundler usage if in Installer
This commit is contained in:
parent
6ec71d4a85
commit
07389f26ed
|
@ -18,8 +18,9 @@ module Vagrant
|
|||
end
|
||||
|
||||
def initialize
|
||||
@enabled = !::Bundler::SharedHelpers.in_bundle?
|
||||
@enabled = true if ENV["VAGRANT_FORCE_BUNDLER"]
|
||||
@enabled = true if ENV["VAGRANT_INSTALLER_ENV"] ||
|
||||
ENV["VAGRANT_FORCE_BUNDLER"]
|
||||
@enabled = !::Bundler::SharedHelpers.in_bundle? if !@enabled
|
||||
@monitor = Monitor.new
|
||||
|
||||
@gem_home = ENV["GEM_HOME"]
|
||||
|
|
Loading…
Reference in New Issue