logstash/bin/bundle

19 lines
473 B
Ruby
Executable file

#!/usr/bin/env ruby
# This is basically a copy of the original bundler "bundle" shim
# with the addition of the loading of our Bundler patches that
# modify Bundler's caching behaviour.
# Exit cleanly from an early interrupt
Signal.trap("INT") { exit 1 }
require_relative "../lib/bootstrap/environment"
LogStash::Bundler.setup!
require "bundler/cli"
require "bundler/friendly_errors"
::Bundler.with_friendly_errors do
::Bundler::CLI.start(ARGV, :debug => true)
end