This project relies on chruby and ruby-install (both managed from ~/.zshrc) to select the correct Ruby for Jekyll.
- Load your shell profile – open a new shell or run
source ~/.zshrc. This exportsCHRUBY_ROOT, loads thechrubyhelper functions, and runschrubyagainst the version declared in.ruby-version. - Confirm the interpreter – after sourcing,
which rubyshould resolve to~/.rubies/<version>/bin/ruby. The repository already contains.ruby-versionso no manual selection is needed. - Install missing gems – run
bundle installinside the project. When the sandbox can’t write under$HOME, Bundler falls back to a temp directory automatically; no additional flags are required. - Build or serve the site – use
bundle exec jekyll buildorbundle exec jekyll serve --livereload.
If bundle exec complains about missing gems, repeat step 1; it usually means the shell wasn’t sourced so the system Ruby was used instead of the chruby-managed one. Should you ever need to install a fresh Ruby, run ruby-install ruby <version> and then re-run bundle install.