Post

Running jekyll server is not working on my Apple M2 device.

You may want to preview the site content before publishing, so just run it by:

1
$ bundle exec jekyll s

However, this command didn’t work on the Apple M2 devices.

Here is a workaround I found:

1
2
3
$ rm -rf vendor
$ arch -arch x86_64 bundle install
$ arch -arch x86_64 bundle exec jekyll serve
This post is licensed under CC BY 4.0 by the author.