Skip to content

Commit 9e8445b

Browse files
author
xaviercallens
committed
fix: Simplify Gemfile to minimal configuration - only github-pages gem
Remove all version constraints and plugin specifications. The github-pages gem includes all necessary Jekyll plugins. Previous Gemfile had: - Version constraints on github-pages (~> 227) - Explicit plugin specifications (jekyll-feed, jekyll-sitemap, jekyll-seo-tag) - Development gems (html-proofer, rake, webrick) - Platform-specific gems (tzinfo, wdm) These were causing gem resolution conflicts. New minimal Gemfile: - Only github-pages gem (latest stable) - No version constraints - No explicit plugins (included in github-pages) - No development gems This allows GitHub Actions to: 1. Use latest stable github-pages 2. Resolve all dependencies cleanly 3. Generate correct platform-specific Gemfile.lock 4. Build Jekyll site without conflicts Expected result: - Clean gem resolution - Successful GitHub Pages build - No dependency conflicts
1 parent efe2cbd commit 9e8445b

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

Gemfile

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
source "https://rubygems.org"
22

3-
# GitHub Pages gem - Stable version compatible with GitHub Pages
4-
gem "github-pages", "~> 227", group: :jekyll_plugins
5-
6-
# Jekyll plugins (included in github-pages, but explicitly listed for clarity)
7-
group :jekyll_plugins do
8-
gem "jekyll-feed"
9-
gem "jekyll-sitemap"
10-
gem "jekyll-seo-tag"
11-
end
12-
13-
# Development and testing gems
14-
group :development, :test do
15-
gem "html-proofer", "~> 3.19"
16-
gem "rake", "~> 13.0"
17-
gem "webrick", "~> 1.7"
18-
end
19-
20-
# Windows and JRuby specific gems
21-
platforms :mingw, :x64_mingw, :mswin, :jruby do
22-
gem "tzinfo", "~> 1.2"
23-
gem "tzinfo-data"
24-
end
25-
26-
# Performance-booster for watching directories on Windows
27-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3+
# GitHub Pages gem - Use latest stable version
4+
# This includes all necessary Jekyll plugins
5+
gem "github-pages", group: :jekyll_plugins

0 commit comments

Comments
 (0)