setup the Bundler path always
This commit is contained in:
parent
e69723b63c
commit
f7e4c4df6b
11
bin/vagrant
11
bin/vagrant
|
@ -57,11 +57,12 @@ end
|
|||
# Require some stuff that is NOT dependent on RubyGems
|
||||
require "vagrant/shared_helpers"
|
||||
|
||||
# Setup our dependencies by initializing Bundler if we're using plugins
|
||||
if Vagrant.plugins_enabled?
|
||||
require "bundler"
|
||||
Bundler.setup
|
||||
end
|
||||
# Setup our dependencies by initializing Bundler. If we're using plugins,
|
||||
# then also initialize the paths to the plugins.
|
||||
groups = [:default]
|
||||
groups << :plugins if Vagrant.plugins_enabled?
|
||||
require "bundler"
|
||||
Bundler.setup(*groups)
|
||||
|
||||
require 'log4r'
|
||||
require 'vagrant'
|
||||
|
|
Loading…
Reference in New Issue