Sha256: c5728c2e7b3f01193180eca21b1e9514ee5289d96e362c9bd3a1a430e1a03975

Contents?: true

Size: 692 Bytes

Versions: 56

Compression:

Stored size: 692 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

# Exit cleanly from an early interrupt
Signal.trap("INT") do
  Bundler.ui.debug("\n#{caller.join("\n")}") if defined?(Bundler)
  exit 1
end

base_path = File.expand_path("../lib", __dir__)

if File.exist?(base_path)
  $LOAD_PATH.unshift(base_path)
end

require "bundler"

require "bundler/friendly_errors"

Bundler.with_friendly_errors do
  require "bundler/cli"

  # Allow any command to use --help flag to show help for that command
  help_flags = %w[--help -h]
  help_flag_used = ARGV.any? {|a| help_flags.include? a }
  args = help_flag_used ? Bundler::CLI.reformatted_help_args(ARGV) : ARGV

  Bundler::CLI.start(args, debug: true)
end

Version data entries

56 entries across 56 versions & 4 rubygems

Version Path
rubygems-update-3.5.7 bundler/exe/bundle
bundler-2.5.7 exe/bundle
rubygems-update-3.5.6 bundler/exe/bundle
bundler-2.5.6 exe/bundle
rubygems-update-3.5.5 bundler/exe/bundle
bundler-2.5.5 exe/bundle
rubygems-update-3.5.4 bundler/exe/bundle
bundler-2.5.4 exe/bundle
rubygems-update-3.5.3 bundler/exe/bundle
bundler-2.5.3 exe/bundle
rubygems-update-3.5.2 bundler/exe/bundle
bundler-2.5.2 exe/bundle
rubygems-update-3.5.1 bundler/exe/bundle
bundler-2.5.1 exe/bundle
rubygems-update-3.5.0 bundler/exe/bundle
bundler-2.5.0 exe/bundle