diff --git a/libexec/bundle b/libexec/bundle index aaf773745d..fccece038b 100755 --- a/libexec/bundle +++ b/libexec/bundle @@ -7,7 +7,7 @@ Signal.trap("INT") do exit 1 end -require "bundler" +require_relative "../lib/bundler" # Check if an older version of bundler is installed $LOAD_PATH.each do |path| next unless path =~ %r{/bundler-0\.(\d+)} && $1.to_i < 9 @@ -18,9 +18,9 @@ $LOAD_PATH.each do |path| abort(err) end -require "bundler/friendly_errors" +require_relative "../lib/bundler/friendly_errors" Bundler.with_friendly_errors do - require "bundler/cli" + require_relative "../lib/bundler/cli" # Allow any command to use --help flag to show help for that command help_flags = %w[--help -h]