From 1f77cc3894d42b6c063ce640b27ae5bb24bc8b55 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Tue, 6 Sep 2022 06:46:21 +0200 Subject: [rubygems/rubygems] Fix `set` not being found when running specs on dev rubies https://github.com/rubygems/rubygems/commit/c5b2960388 --- spec/bundler/runtime/inline_spec.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec/bundler') diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index 83f898c4ac..d53e8663a6 100644 --- a/spec/bundler/runtime/inline_spec.rb +++ b/spec/bundler/runtime/inline_spec.rb @@ -451,6 +451,9 @@ RSpec.describe "bundler/inline#gemfile" do realworld_system_gems "timeout uri" # this spec uses net/http which requires these default gems + # on prerelease rubies, a required_rubygems_version constraint is added by RubyGems to the resolution, causing Molinillo to load the `set` gem + realworld_system_gems "set --version 1.0.3" if Gem.ruby_version.prerelease? + script <<-RUBY, :dir => tmp("path_without_gemfile"), :env => { "BUNDLER_GEM_DEFAULT_DIR" => system_gem_path.to_s } require "bundler/inline" -- cgit v1.2.3