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.75 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.74 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.73 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.72 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.71 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.70 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.69 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.68 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.67 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.66 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.65 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.64 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.63 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.62 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.61 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.60 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.59 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.58 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.57 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle
harbr-0.1.56 vendor/bundle/ruby/3.2.0/gems/bundler-2.4.21/exe/bundle