Closed Harrypotterrrr closed 5 years ago
Did you run bundle install
?
And it's probably sufficient to put just gem 'jekyll-katex'
in your Gemfile. Mine looks like:
source "https://rubygems.org"
gem "jekyll"
gem "jekyll-feed"
gem "jekyll-katex"
gem "jekyll-sitemap"
@awnumar Thank you for your help sincerely! I have used bundle install
before but failed for the following error:
Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
I struggled to deal with this problem for a long time, and now I worked it out by adding gem 'therubyracer'
to the Gemfile
.
You can get a JavaScript runtime by installing node: apt-get update && apt get install nodejs
.
@awnumar Hi, I have met a serious problem when I deploy my project to Github. It emailed me that it failed to build because of Page build failed: Unknown tag error
. I succeed in running my code locally, but I don't know what I should do to make it work on Github. Could you help me with that?
I have followed your instructions:
_config.yml
, e.g.:jekyll-katex
to yourGemfile
plugin block:but when I use
I am a freshman in front-end field, so could you help me with this problem? Thank you in advance!
bundle exec jekyll build
the following error appears: Liquid Exception: Liquid syntax error (line 23): Unknown tag 'katex' in