我有一个托管在 Github Pages 上的 Jekyll 网站。在推送到 Github 之前,我试图让我的网站在本地呈现,但运行时出现以下错误bundle exec jekyll serve --safe
:
Liquid Exception: Liquid syntax error (line 13): Unknown tag 'gist'
我的_config.yml
包含以下内容(除其他外):
gems:
- jekyll-gist
我Gemfile
的如下:
source 'https://rubygems.org'
gem 'github-pages'
并bundle show jekyll-gist
显示已安装 gem 的路径。
我难住了!