Skip to content

Commit f609d33

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Remove unnecessary feature flag check
This spec now only runs in Bundler 2 mode. ruby/rubygems@f52cb240ca
1 parent fef0051 commit f609d33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/bundler/commands/newgem_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,7 @@ def ignore_paths
541541
build_dummy_irb "9.9.9"
542542
end
543543
gems = ["rake-#{rake_version}", "irb-9.9.9"]
544-
path = Bundler.feature_flag.default_install_uses_path? ? local_gem_path(base: bundled_app("newgem")) : system_gem_path
545-
system_gems gems, path: path, gem_repo: gem_repo2
544+
system_gems gems, path: system_gem_path, gem_repo: gem_repo2
546545
bundle "exec rake build", dir: bundled_app("newgem")
547546

548547
expect(stdboth).not_to include("ERROR")

0 commit comments

Comments
 (0)