-
Notifications
You must be signed in to change notification settings - Fork 0
Local setup
Li-Wei Yap edited this page Dec 31, 2025
·
5 revisions
- Follow installation guide here:
# install the command line tools to compile native extensions
xcode-select --install
export SDKROOT=$(xcrun --show-sdk-path)
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Ruby
brew install ruby
# If you're using Zsh
# echo 'export PATH="/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"' >> ~/.zshrc
brew install rbenv
rbenv install 4.0.0
rbenv global 4.0.0
# open ~/.zshrc
eval "$(rbenv init - zsh)"
- VERY IMPORTANT: Restart your terminal to apply your changes. Then run:
sudo gem install bundler
bundle install
- For local testing, run:
bundle exec jekyll serve --config _config.yml,_config-dev.yml