From 2052dd1cfc2f8241b89ae017ba60a096989a7be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 13 Aug 2025 21:58:12 +0200 Subject: [rubygems/rubygems] It's not necessary to set `deployment` https://github.com/rubygems/rubygems/commit/eaa51203ca --- spec/bundler/commands/cache_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/bundler/commands/cache_spec.rb b/spec/bundler/commands/cache_spec.rb index 6fffc05e27..973cf5add5 100644 --- a/spec/bundler/commands/cache_spec.rb +++ b/spec/bundler/commands/cache_spec.rb @@ -311,23 +311,22 @@ RSpec.describe "bundle cache" do BUNDLED WITH #{Bundler::VERSION} L + bundle "config set --local frozen true" end it "tries to install with frozen" do - bundle "config set deployment true" gemfile <<-G source "https://gem.repo1" gem "myrack" gem "myrack-obama" G - bundle "config set --local frozen true" bundle :cache, raise_on_error: false expect(exitstatus).to eq(16) expect(err).to include("frozen mode") expect(err).to include("You have added to the Gemfile") expect(err).to include("* myrack-obama") bundle "env" - expect(out).to include("frozen").or include("deployment") + expect(out).to include("frozen") end end -- cgit v1.2.3