Mac OSX Mojave, Ruby v 2.5.3, Bundler v 1.17.2. Homebrew installed.
This is a noob question but can’t make progress. I’m wanting to run a site of my local machine (which I was doing previously without problems.)
I cloned an existing jekyll site to my desktop and then entered
bundle exec jekyll build. Got the error message ‘no gemfile’ so I followed the instructions on the jekyll page to install gems etc.
If I run Jekyll Build I get:
Liquid Exception: Could not locate the included file ‘links.html’ in any of ["/Users/jonathanshearman/Desktop/recover/January/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in /Users/jonathanshearman/Desktop/recover/January/_posts/2015-04-12-test-post-last-year.md
jekyll 3.8.5 | Error: Could not locate the included file ‘links.html’
But the file is not missing.
If I run bundle exec jekyll build, I get
bundler: failed to load command: jekyll (/usr/local/lib/ruby/gems/2.5.0/bin/jekyll)
Gem::Exception: can’t find executable jekyll for gem jekyll. jekyll is not currently included in the bundle, perhaps you meant to add it to your Gemfile?
block in replace_bin_path' /usr/local/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/rubygems_integration.rb:482:inblock in replace_bin_path’
/usr/local/lib/ruby/gems/2.5.0/bin/jekyll:23:in `<top (required)>’
any guidance appreciated