Skip to content

Commit 0df73a7

Browse files
zkoppertCopilot
andcommitted
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 <zkoppert@github.com>
1 parent 052712e commit 0df73a7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Gemfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,4 @@ gem "creole", "~>0.5.0"
1313
gem "wikicloth", "=0.8.3"
1414
gem "twitter-text", "~> 1.14"
1515
gem "asciidoctor", "~> 2.0.26"
16-
gem "rake"
1716
gem "rexml"
18-
gem "nokogiri", "~> 1.19"

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ DEPENDENCIES
126126
html-pipeline (~> 1.0)
127127
kramdown
128128
minitest (~> 5.4, >= 5.4.3)
129-
nokogiri (~> 1.19)
129+
nokogiri (~> 1.19.2)
130130
nokogiri-diff (~> 0.3.0)
131131
org-ruby (= 0.9.12)
132-
rake
132+
rake (~> 13)
133133
rdoc (~> 6.13.1)
134134
redcarpet
135135
rexml

0 commit comments

Comments
 (0)