This is the class blog for Applied Data Science.
Live site: https://TZstatsADS.github.io
Use this sequence whenever you edit posts or pages:
- Pull latest changes.
- Build locally.
- If build passes, push.
- Confirm GitHub Actions build is green.
This project is a Jekyll site managed by Bundler.
Using the built-in /System/Library/.../ruby often fails when native gems compile.
Use a user-managed Ruby instead (for example rbenv).
brew install rbenv ruby-build
rbenv init
rbenv install 3.2.4
rbenv local 3.2.4
ruby -vThis repo currently pins Bundler 2.3.26 in Gemfile.lock.
gem install bundler -v 2.3.26bundle _2.3.26_ installbundle _2.3.26_ exec jekyll buildOutput will be generated in _site/.
bundle _2.3.26_ exec jekyll serve --livereloadThen open: http://127.0.0.1:4000
# quick local verification before pushing
bundle _2.3.26_ exec jekyll build
# preview locally
bundle _2.3.26_ exec jekyll serve --livereloadIf Bundler gets stuck on dependency resolution, use the Docker preview script:
./scripts/preview-docker.shThen open: http://127.0.0.1:4000
Try these in order:
bundle _2.3.26_ install
bundle _2.3.26_ update --bundler
bundle _2.3.26_ exec jekyll build --traceIf you are on macOS and see native extension errors (eventmachine, http_parser.rb):
xcode-select --installThen retry bundle _2.3.26_ install.
If a new post causes the error, check front matter keys (title, date, layout) and YAML formatting.
This repo now includes a GitHub Actions workflow that runs bundle exec jekyll build on every push and pull request. That gives you an automatic safety net before or right after deployment.