Skip to content

Commit 2ebcc3a

Browse files
hsbtclaude
authored andcommitted
[ruby/rubygems] Revert global_cache_spec to subprocess for cross-directory config
ruby/rubygems@7bf9971ebb Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e0c4e8c commit 2ebcc3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/bundler/install/global_cache_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# frozen_string_literal: true
22

33
RSpec.describe "global gem caching" do
4-
before { bundle_config "global_gem_cache true" }
4+
# Uses subprocess because this setting must apply across multiple app directories (bundled_app and bundled_app2)
5+
before { bundle "config set global_gem_cache true" }
56

67
describe "using the cross-application user cache" do
78
let(:source) { "http://localgemserver.test" }

0 commit comments

Comments
 (0)