aboutsummaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-06-08 21:41:04 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:55 +0900
commita27198f64850441688ae77d329eab66049d0f5e5 (patch)
tree028ae828e425fe9262169de9b3501b4de7125875 /libexec
parent9596f432505a8282473b5a011eaaa5de6fa101ef (diff)
downloadruby-a27198f64850441688ae77d329eab66049d0f5e5.tar.gz
[bundler/bundler] Migrate requires from exe/ to also be relative
https://github.com/bundler/bundler/commit/d9d2bf6d52
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/bundle6
1 files changed, 3 insertions, 3 deletions
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]