diff options
| -rw-r--r-- | spec/bundler/spec_helper.rb | 2 | ||||
| -rw-r--r-- | spec/bundler/support/builders.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/spec_helper.rb b/spec/bundler/spec_helper.rb index c6bd786347..81a1a84b20 100644 --- a/spec/bundler/spec_helper.rb +++ b/spec/bundler/spec_helper.rb @@ -87,8 +87,6 @@ RSpec.configure do |config| # Don't wrap output in tests ENV["THOR_COLUMNS"] = "10000" - Spec::Helpers.install_dev_bundler unless ENV["CI"] - extend(Spec::Builders) check_test_gems! diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index 2dcad26028..5999335b12 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -235,6 +235,8 @@ module Spec FileUtils.rm_rf(base_system_gems) Spec::Rubygems.install_test_deps end + + Helpers.install_dev_bundler unless pristine_system_gem_path.exist? end def update_repo(path, build_compact_index: true) |
