Source for the Siren plugins documentation site, built with Jekyll and hosted on GitHub Pages.
- Ruby (3.1.x recommended) — managed via rbenv or RVM. A
.ruby-versionfile is included and pins the version to 3.1.3. - Bundler — install with
gem install bundler - Homebrew (macOS) — required to install system dependencies like
gmp
macOS Apple Silicon note: Ruby must be compiled for
arm64. If you get aLibrary not loaded: .../libgmp.10.dyliberror, your Ruby was built against the Intel Homebrew path (/usr/local). Install a fresh Ruby via rbenv to get a native arm64 build.
Confirm that the ruby version is getting picked from rbenv by doing which ruby. If it says something other than $HOME/.rbenv/shims/ruby, then run eval "$(rbenv init - bash)" and try which ruby again. If you are using .zshrc on MacOS, run eval "$(rbenv init - zsh)"
The ruby -v version should match the version in the .ruby-version file.
-
Install dependencies
bundle install
-
Start the development server
bundle exec jekyll serve -
Open http://localhost:4000 in your browser.
The site rebuilds automatically when you save changes.
| Flag | Description |
|---|---|
--livereload |
Automatically reload the browser on changes |
--incremental |
Only rebuild changed pages (faster for large sites) |
--drafts |
Include posts in _drafts/ |
Example:
bundle exec jekyll serve --livereload- Testing your GitHub Pages site locally with Jekyll — official GitHub guide
- Jekyll documentation