tl;dr If you’re running Jekyll on Arch linux and run into a Liquid Exception error, make sure python2 is installed.
While building my website on a frest ArchLinux virtual machine via vagrant, I ran into the following issue:
If we look closely we see:
which: no python2 in (/home/vagrant/.gem ...
I use Arch Linux, which if I remeber correctly installs python3 and not python2 by default. Let’s check.
Yep. If we also look at the path jekyll is spitting out in that error message /usr/bin is in there, which is where python3 resides. My guess is if we install python2 it’ll be put in /usr/bin as well. Then if we run jekyll again, it’ll check that directory, find python2, and be happy.