I am trying to create a Jekyll site hosted on GitHub Pages, and have been following the GitHub Pages tutorial to do so.
When I run bundle exec jekyll 4.0.1 new
in the terminal (as in step 7 in the tutorial, 4.0.1 being the version of jekyll on my machine), it fails with Could not locate Gemfile or .bundle/ directory
.
I've double checked the dependencies with jekyll -v
, git --version
, bundler -v
, ruby -v
, gem -v
and all are installed so I'm not sure where I've gone wrong.
I'm running macOS 10.15.4.