I get this error on macOS 10.14 Mojave when trying to serve the book.
Liquid Exception: Could not locate the included file 'search/lunr/lunr-store.js' in any of ["directory/path", "/Library/Ruby/Gems/2.3.0/gems/jekyll-theme-primer-0.5.3/_includes"]. Ensure it exists in one of those directories and is not a symlink as those are not allowed in safe mode. in mybookname/assets/html/search_form.html
jekyll 3.8.5 | Error: Could not locate the included file 'search/lunr/lunr-store.js' in any of ["directory/path", "/Library/Ruby/Gems/2.3.0/gems/jekyll-theme-primer-0.5.3/_includes"]. Ensure it exists in one of those directories and is not a symlink as those are not allowed in safe mode.
Gemfile:
source 'https://rubygems.org'
gem 'github-pages', group: :jekyll_plugins
I executed the following commands in a new directory:
bundle install
jupyter-book create mybookname --demo
jupyter-book build mybookname/
bundle exec jekyll serve
@rickwierenga you should run the bundle exec jekyll serve function from within the book's directory. Can you try that and see if it works?
It worked when I added the following line to the Gemfile:
gem 'unicode_utils'
thanks for following up!
Most helpful comment
It worked when I added the following line to the Gemfile: