I think my main issue is that jekyll 4 is not support by github pages. That is fine with me, but how do I downgrade jekyll to work regardless?
I tried following the
Your Gemfile should look like :
source 'https://rubygems.org'
# will install all gh-pages allowed gems
# see : https://pages.github.com/versions/
gem 'github-pages'
# comment out all other gems
# gem 'jekyll'
# gem 'jekyll-feed'
# gem ...
Remove Gemfile.lock
You can now do a bundle
and it will install all needed gems to test against actual github-pages version.
The current version of github pages requires you set use Jekyll 3.8.5 and github-pages 202. When I set this up, I also had to set a specific version for jekyll feed. Here's the relevant lines you need in your Gemfile:
gem "jekyll", "~> 3.8.5"
gem "github-pages","~> 202" , group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.11.0"
end
After that, try removing your Gemfile.lock and running bundle install
.
I have a repo here with a minimal version set up.