[rubygems/rubygems] Remove unnecessary feature flag check

This spec now only runs in Bundler 2 mode.

f52cb240ca
This commit is contained in:
David Rodríguez 2025-07-02 08:24:28 +02:00 committed by Hiroshi SHIBATA
parent fef0051926
commit f609d3395e

View file

@ -541,8 +541,7 @@ RSpec.describe "bundle gem" do
build_dummy_irb "9.9.9"
end
gems = ["rake-#{rake_version}", "irb-9.9.9"]
path = Bundler.feature_flag.default_install_uses_path? ? local_gem_path(base: bundled_app("newgem")) : system_gem_path
system_gems gems, path: path, gem_repo: gem_repo2
system_gems gems, path: system_gem_path, gem_repo: gem_repo2
bundle "exec rake build", dir: bundled_app("newgem")
expect(stdboth).not_to include("ERROR")