From 0df73a700056f8bf01243a481e8dc8554d49bd2c Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 14 May 2026 00:38:02 -0700 Subject: [PATCH] fix: remove duplicate rake and nokogiri deps from Gemfile rake and nokogiri are declared in both the Gemfile and gemspec with different version constraints. This causes all Dependabot bundler PRs to fail CI because Dependabot's Bundler serializes merged Gemfile+gemspec constraints into the lockfile DEPENDENCIES section, while CI's Bundler (in frozen mode) expects only the Gemfile constraints and flags the mismatch. Remove the duplicate entries from the Gemfile so each gem has a single source of truth for its constraint (the gemspec). This eliminates the serialization mismatch regardless of Bundler version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Zack Koppert --- Gemfile | 2 -- Gemfile.lock | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index a02d6e94..274f94d0 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,4 @@ gem "creole", "~>0.5.0" gem "wikicloth", "=0.8.3" gem "twitter-text", "~> 1.14" gem "asciidoctor", "~> 2.0.26" -gem "rake" gem "rexml" -gem "nokogiri", "~> 1.19" diff --git a/Gemfile.lock b/Gemfile.lock index 2c39c2ab..d0c252f3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -126,10 +126,10 @@ DEPENDENCIES html-pipeline (~> 1.0) kramdown minitest (~> 5.4, >= 5.4.3) - nokogiri (~> 1.19) + nokogiri (~> 1.19.2) nokogiri-diff (~> 0.3.0) org-ruby (= 0.9.12) - rake + rake (~> 13) rdoc (~> 6.13.1) redcarpet rexml