summaryrefslogtreecommitdiff
path: root/spec/support/artifice/endpoint.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/artifice/endpoint.rb')
-rw-r--r--spec/support/artifice/endpoint.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/artifice/endpoint.rb b/spec/support/artifice/endpoint.rb
index 0176059e87..966681f8d8 100644
--- a/spec/support/artifice/endpoint.rb
+++ b/spec/support/artifice/endpoint.rb
@@ -44,7 +44,7 @@ class Endpoint < Sinatra::Base
def dependencies_for(gem_names, gem_repo = GEM_REPO)
return [] if gem_names.nil? || gem_names.empty?
- require "bundler"
+ require "#{Spec::Path.lib}/bundler"
Bundler::Deprecate.skip_during do
all_specs = %w[specs.4.8 prerelease_specs.4.8].map do |filename|
Marshal.load(File.open(gem_repo.join(filename)).read)