[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
@ -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
|
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 }
|
script <<-RUBY, :dir => tmp("path_without_gemfile"), :env => { "BUNDLER_GEM_DEFAULT_DIR" => system_gem_path.to_s }
|
||||||
require "bundler/inline"
|
require "bundler/inline"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user