Sha256: 03e2e4b0087a963231c9db2c25c26f352c03dd1e69fb2db4352752248d1066b0

Contents?: true

Size: 1.21 KB

Versions: 96

Compression:

Stored size: 1.21 KB

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"

if Gem.rubygems_version < Gem::Version.new("3.2.3") && Gem.ruby_version < Gem::Version.new("2.7.a") && !ENV["BUNDLER_NO_OLD_RUBYGEMS_WARNING"]
  Bundler.ui.warn \
    "Your RubyGems version (#{Gem::VERSION}) has a bug that prevents " \
    "`required_ruby_version` from working for Bundler. Any scripts that use " \
    "`gem install bundler` will break as soon as Bundler drops support for " \
    "your Ruby version. Please upgrade RubyGems to avoid future breakage " \
    "and silence this warning by running `gem update --system 3.2.3`"
end

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

96 entries across 96 versions & 4 rubygems

Version Path
harbr-0.1.96 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.95 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.94 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.93 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.91 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.90 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.89 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.88 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.87 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.86 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.85 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.84 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.83 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.82 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.81 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.80 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.79 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.78 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.77 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.76 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle