summaryrefslogtreecommitdiff
path: root/spec/support/matchers.rb
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-11-08 17:11:33 +0000
committerBundlerbot <bot@bundler.io>2019-11-08 17:11:33 +0000
commit27ae25003bb410c42d313a6e2b216b94495bebeb (patch)
treef841fcee3186e6e99f67d7bc2f1daaf4d62bde47 /spec/support/matchers.rb
parentb0dcf5f7b2a23372128ec0caf1ae888cb8630749 (diff)
parente71aba684726a9418dfcdc03f6097ac1110a7b5a (diff)
downloadbundler-27ae25003bb410c42d313a6e2b216b94495bebeb.tar.gz
Merge #7428
7428: 2.1.0.pre.3 r=deivid-rodriguez a=deivid-rodriguez This is the upcoming 2.1.0.pre.3. I only documented PRs that (I expect to) include user facing changes, but the release also includes: * Some improvements in bundler integration as a default gem. I don't think these changes should change behavior but there's some default gem integration issues that I could never reproduce but the less we rely and mess with bundler's own `$LOAD_PATH` usually help here. That's #7398. * Improvements in the experience debugging bundler by making the UI non silent by default. Again, I don't expect user facing changes, but if I'm missing something, I think it would be for the better. This is #7401. * Bumping fileutils version to 1.3.0. We were using 1.2.0 with some patches on top. Again, no expected changes on the user side, but we should aim that our releases include vendorize versions of dependencies that exactly match something released on rubygems.org, and this change goes in that direction. This is #7375. * Refactorings and updates to the development environment. Co-authored-by: Bundlerbot <bot@bundler.io>
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r--spec/support/matchers.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index b0493801e8..69d3be4a3d 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -1,7 +1,8 @@
# frozen_string_literal: true
require "forwardable"
-require "support/the_bundle"
+require_relative "the_bundle"
+
module Spec
module Matchers
extend RSpec::Matchers
@@ -170,7 +171,7 @@ module Spec
end
R
rescue StandardError => e
- next "checking for #{name} failed:\n#{e}"
+ next "checking for #{name} failed:\n#{e}\n#{e.backtrace.join("\n")}"
end
next if out == "WIN"
next "expected #{name} to not be installed, but it was" if version.nil?