Sha256: 8336e61ec790e7aa7910886d3d57f94a58c7f28319346803347a630f2b99af74
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
# This file is to be loaded _before_ any RubyGems are loaded. This file # initializes the Bundler context so that Vagrant and its associated plugins # can load properly, and then execs out into Vagrant again. require_relative "shared_helpers" if defined?(Bundler) require "bundler/shared_helpers" if Bundler::SharedHelpers.in_bundle? && !Vagrant.very_quiet? puts "Vagrant appears to be running in a Bundler environment. Your " puts "existing Gemfile will be used. Vagrant will not auto-load any plugins" puts "installed with `vagrant plugin`. Vagrant will autoload any plugins in" puts "the 'plugins' group in your Gemfile. You can force Vagrant to take over" puts "with VAGRANT_FORCE_BUNDLER." puts end end require_relative "bundler" require_relative "plugin/manager" plugins = Vagrant::Plugin::Manager.instance.installed_plugins Vagrant::Bundler.instance.init!(plugins) ENV["VAGRANT_INTERNAL_BUNDLERIZED"] = "1" # If the VAGRANT_EXECUTABLE env is set, then we use that to point to a # Ruby file to directly execute. Otherwise, we just depend on PATH lookup. # This minor optimization can save hundreds of milliseconds on Windows. if ENV["VAGRANT_EXECUTABLE"] Kernel.exec("ruby", ENV["VAGRANT_EXECUTABLE"], *ARGV) else Kernel.exec("vagrant", *ARGV) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-cloudstack-1.2.0 | vendor/bundle/bundler/gems/vagrant-c84e05fd063f/lib/vagrant/pre-rubygems.rb |