mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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:
parent
c664264c07
commit
1f77cc3894
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue