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 some stuff that is NOT dependent on RubyGems
|
||||||
require "vagrant/shared_helpers"
|
require "vagrant/shared_helpers"
|
||||||
|
|
||||||
# Setup our dependencies by initializing Bundler if we're using plugins
|
# Setup our dependencies by initializing Bundler. If we're using plugins,
|
||||||
if Vagrant.plugins_enabled?
|
# then also initialize the paths to the plugins.
|
||||||
require "bundler"
|
groups = [:default]
|
||||||
Bundler.setup
|
groups << :plugins if Vagrant.plugins_enabled?
|
||||||
end
|
require "bundler"
|
||||||
|
Bundler.setup(*groups)
|
||||||
|
|
||||||
require 'log4r'
|
require 'log4r'
|
||||||
require 'vagrant'
|
require 'vagrant'
|
||||||
|
|
Loading…
Reference in New Issue