79480593

Date: 2025-03-03 09:19:35
Score: 4
Natty:
Report link

Please post here working solution, if known. Somewhere I seen al-folio theme solved problem with jekyll-scholar, but switching themes might require a lot of effort.

For ~2 years solution given by Gemma Danks for use Jekyll-Scholar with GH Pages worked, with downgraded ruby version to 2.7.2. Today it stopped working for some arcane reasons.

Github required to upgrade Workflow file: Jekyll.yml given by Gemma:

This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`

Then after update to v4 it fails to build:

 Run bundle exec jekyll build --baseurl ""
bundler: failed to load command: jekyll (/home/runner/work/photin_web/photin_web/vendor/bundle/ruby/2.7.0/bin/jekyll)
/opt/hostedtoolcache/Ruby/2.7.2/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.22/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated uri 0.10.0, but your Gemfile requires uri 1.0.3. Since uri is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports uri as a default gem. (Gem::LoadError)
    from /opt/hostedtoolcache/Ruby/2.7.2/x64/lib/ruby/gems/2.7.0/gems/bundler-2.4.22/lib/bundler/runtime.rb:25:in `block in setup'

On local server, bundle exec jekyll serve works fine, as far as I understand it use bundler 2.3.5, whereas GH Pages tries to use 2.4.22, and maybe this is why it fails to build GH Pages.

How to set bounty for solving this persistent jekyll-scholar issue with GH Pages?

Reasons:
  • RegEx Blacklisted phrase (2.5): Please post
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Photin LLC