aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/support/artifice/compact_index.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/support/artifice/compact_index.rb')
-rw-r--r--spec/bundler/support/artifice/compact_index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/artifice/compact_index.rb b/spec/bundler/support/artifice/compact_index.rb
index 4f01690ae4..89362c4dbc 100644
--- a/spec/bundler/support/artifice/compact_index.rb
+++ b/spec/bundler/support/artifice/compact_index.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-require File.expand_path("../endpoint", __FILE__)
+require_relative "endpoint"
$LOAD_PATH.unshift Dir[base_system_gems.join("gems/compact_index*/lib")].first.to_s
require "compact_index"