GitHub Pages runs in
safe mode and only allows a set of whitelisted plugins. To use the gem in GitHub Pages, one of the workarounds is to use CI (e.g. travis, github workflow) and deploy to your
gh-pages branch like: jekyll-deploy-action, and I use this plugin: jekyll-spaceship in my github pages.