[rubygems/rubygems] Fix `set` not being found when running specs on dev rubies

https://github.com/rubygems/rubygems/commit/c5b2960388
This commit is contained in:
David Rodríguez 2022-09-06 06:46:21 +02:00 коммит произвёл git
Родитель c664264c07
Коммит 1f77cc3894
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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"