minimal-mistakes
minimal-mistakes copied to clipboard
A problem occured when github action was running
What happened?
- Minimal Mistakes version: 4.24.0
- Ruby gem or remote theme version: 3.3.7
- Jekyll version: 4.3.1
- Git repository URL: https://github.com/S-N-O-R-L-A-X/S-N-O-R-L-A-X.github.io
- Hosted on GitHub Pages (if yes provide URL to site): https://s-n-o-r-l-a-x.github.io/
- Operating system:
Expected behavior
The deployment job shoud run well. But now it ran well in local but raised an error when github action was running, which said "Warning: github-pages can't satisfy your Gemfile's dependencies. /usr/local/bundle/gems/jekyll-3.9.3/lib/jekyll/theme.rb:84:in `rescue in gemspec': The minimal-mistakes-jekyll theme could not be found. (Jekyll::Errors::MissingDependencyException)"
Steps to reproduce the behavior
- Run
jekyll newto create a blog. - Use git remote to relate github and blog.
- Install theme using Gem-based method.
- Push the code to remote.
Other
No response
I found that adding the faraday-retry gem to the gemfile fixed this issue:
gem 'faraday-retry', '~> 2.2'
I've been able to fix the similar issue with this documentation https://github.com/mmistakes/minimal-mistakes#remote-theme-method 😉 Here is the commit https://github.com/jupier/jupier.github.io/commit/8dbb57f4177a996fec5d02c8a80dc19db40fccbe