The function is to provide a fixed Jekyll version for self-hosted on Ubuntu, and manage the compile processes instead of relying on CI platforms.
The fixed version of Ruby is 3.1.0, and all gem versions are locked by Gemfile.lock.
A reference Gemfile that includes the compatible dependency gems.
It installs the following components when initializing a new environment:
- Ruby 3.1.0
- Bundler
- Jekyll
- Nginx
Otherwise, it works as a reproducible runtime for routine deployment.
curl -sSLO https://raw.githubusercontent.com/genhaiyu/jekyll-buildkit/master/buildkit.sh \
&& chmod +x buildkit.sh \
&& ./buildkit.sh
- jekyll-example is for preview deployment, or choose another preferred Jekyll.
Uses sassc as the Sass engine, and sass-embedded may cause dependency issues because of the older runtime environment.

