From 3ee45d7b30eef1479e14e8ec0499ca643c737392 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Tue, 22 Oct 2024 12:38:07 +0100 Subject: [PATCH] Require zeitwerk 2.6.12 We were requiring Zeitwerk 2.5+, but calling eager_load_namespace which was added in 2.6.2. Fixes: https://github.com/basecamp/kamal/issues/1109 --- Gemfile.lock | 4 ++-- kamal.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8b4973894..1f825a111 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ PATH net-ssh (~> 7.0) sshkit (>= 1.23.0, < 2.0) thor (~> 1.3) - zeitwerk (~> 2.5) + zeitwerk (>= 2.6.18, < 3.0) GEM remote: https://rubygems.org/ @@ -167,7 +167,7 @@ GEM concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) webrick (1.8.2) - zeitwerk (2.6.17) + zeitwerk (2.7.1) PLATFORMS arm64-darwin diff --git a/kamal.gemspec b/kamal.gemspec index 0dfab60b9..c1a8dbeb1 100644 --- a/kamal.gemspec +++ b/kamal.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.add_dependency "net-ssh", "~> 7.0" spec.add_dependency "thor", "~> 1.3" spec.add_dependency "dotenv", "~> 3.1" - spec.add_dependency "zeitwerk", "~> 2.5" + spec.add_dependency "zeitwerk", ">= 2.6.18", "< 3.0" spec.add_dependency "ed25519", "~> 1.2" spec.add_dependency "bcrypt_pbkdf", "~> 1.0" spec.add_dependency "concurrent-ruby", "~> 1.2"