diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2025-07-02 08:24:28 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-07-07 11:52:59 +0900 |
| commit | f609d3395e29c8bec70ef0d3c31e5f20d83cae15 (patch) | |
| tree | 85eb652735406ce2a251543a297d5130153016cb | |
| parent | fef00519263ae2463a63981e2032d987440babf3 (diff) | |
[rubygems/rubygems] Remove unnecessary feature flag check
This spec now only runs in Bundler 2 mode.
https://github.com/rubygems/rubygems/commit/f52cb240ca
| -rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb index ba579ffe57..52d70559d9 100644 --- a/spec/bundler/commands/newgem_spec.rb +++ b/spec/bundler/commands/newgem_spec.rb @@ -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") |
