-
Environment
Expected behavior
should serve locally instead there comes this error message:
Unfortunately, I don't remember anymore what could have caused this error. I reverted all changes (which were really minor ones) and pulled the code from master. It runs fine on datagoodie.com and on https://richstone.github.io. I did a Does it have something to do with jekyll / ruby installation or with the theme? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments
-
You haven't done anything wrong. The theme now uses the jekyll-include-cache plugin. And while it is supported by GitHub Pages, they don't enabled it by default. You need to opt in and add it to the plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-gist
- jekyll-feed
- jemoji
- jekyll-include-cache |
Beta Was this translation helpful? Give feedback.
-
Thanks for the fix! How do I know in future that the theme was updated with new gems and that I have to install them and add them to config.yaml/gemfile? |
Beta Was this translation helpful? Give feedback.
-
@RichStone check the CHANGELOG. Any updates made to the theme are noted there. What I would suggest to avoid future disruptions is you lock the theme to current released version, and upgrade when you want to. This will avoid you pulling down features that may not be backwards compatible with your content. If you're using the theme as a Ruby gem you'd add the version to your gem "minimal-mistakes-jekyll", "4.13.0" And if you're using it as a remote theme you can lock it like this in your remote_theme: "mmistakes/[email protected]" |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! Everything seems to work now, although I was in a nokogiri hell while installing everything on my mac 🙈 |
Beta Was this translation helpful? Give feedback.
-
I am currently also getting the same error, even though I made sure that I am using the latest release v4.14.2 Any clues what I am doing wrong?
|
Beta Was this translation helpful? Give feedback.
-
@bjwo And you're running Jekyll with Do you have a public repo I can look at? If you have the include cache plugin in your |
Beta Was this translation helpful? Give feedback.
-
@mmistakes Yes, that's correct, and I have the However, I doubt that it's the repo, but rather my setup, as I also have tried to clone your repo and Is there any better way how I can debug this? Thanks, Björn |
Beta Was this translation helpful? Give feedback.
-
@bjwo If you have a public repo I can try and build your site and see if I get the same error. If I don't then it's definitely your Ruby environment. You'd be surprised how often it's something silly that I can easily spot if I can see your actual code in the repo... that's why I asked. |
Beta Was this translation helpful? Give feedback.
-
Hi! I did all of the suggested things - added @bjwo - did you solve the problem? |
Beta Was this translation helpful? Give feedback.
-
A bit new at this but having the same error. From config.yml
'#' mimic GitHub Pages with --safe
Gemfile: *** LOCAL GEMS *** enjaku.github.io git:(master) ✗ bundle exec jekyll build At a bit of a loss here. I've been playing with this for three days now. |
Beta Was this translation helpful? Give feedback.
-
please help me.. I have this error every I try. This is my /_layouts/post.html code. layout: base{% if page.cover %}
{% img page.cover cover %}
{% endif %}
{{ page.title }}
{% for category in page.categories %}
{% for tag in page.tags %}
{% if tag != site.sticky %}
{{ category }}{% unless forloop.last%}, {% endunless %}{% endfor%} - {{ page.date | date: "%m/%d/%Y" }}{{ tag }}
{% endif %}
{% endfor %}
{{ content }}
I don't know how can I fix this problem. |
Beta Was this translation helpful? Give feedback.
-
I had an older version of MM where the |
Beta Was this translation helpful? Give feedback.
You haven't done anything wrong. The theme now uses the jekyll-include-cache plugin. And while it is supported by GitHub Pages, they don't enabled it by default. You need to opt in and add it to the
plugins
array of your_config.yml
.