Skip to content

Commit

Permalink
[rubygems/rubygems] Make frozen mode spec also pass on Bundler 3
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Jun 14, 2023
1 parent e1038f9 commit 96e3f31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/bundler/definition.rb
Expand Up @@ -385,7 +385,7 @@ def ensure_equivalent_gemfile_and_lockfile(explicit_flag = false)
@dependencies.each {|d| both_sources[d.name][0] = d }

locked_dependencies.each do |d|
next if !Bundler.feature_flag.bundler_3_mode? && @locked_specs[d.name].empty?
next if @locked_specs[d.name].empty?

both_sources[d.name][1] = d
end
Expand Down
2 changes: 1 addition & 1 deletion spec/bundler/install/deploy_spec.rb
Expand Up @@ -297,7 +297,7 @@
expect(out).to eq("WIN")
end

it "works if a gem is missing, but it's on a different platform", :bundler => "< 3" do
it "works if a gem is missing, but it's on a different platform" do
build_repo2

install_gemfile <<-G
Expand Down

0 comments on commit 96e3f31

Please sign in to comment.