Sha256: e81b15d5cf7216bd4bcb8caf4b65e4cc8e7b40c90e84ed1d6d3562fac08eee2d

Contents?: true

Size: 1.26 KB

Versions: 15

Compression:

Stored size: 1.26 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

15 entries across 12 versions & 4 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/lib/vagrant/pre-rubygems.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/lib/vagrant/pre-rubygems.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/lib/vagrant/pre-rubygems.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.5.2 lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.5.1 lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.4.2 lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.4.1 lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.1.2 lib/vagrant/pre-rubygems.rb
vagrant-unbundled-1.8.1.1 lib/vagrant/pre-rubygems.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/lib/vagrant/pre-rubygems.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/lib/vagrant/pre-rubygems.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/lib/vagrant/pre-rubygems.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/lib/vagrant/pre-rubygems.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/lib/vagrant/pre-rubygems.rb