Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 892 Bytes

File metadata and controls

35 lines (25 loc) · 892 Bytes

Zebin Ren's Website

Building Locally

Install (mac)

Install environments:

brew install chruby ruby-install xz
ruby-install ruby 3.1.3

# If using bash, replace .zshrc with .bash_profile
echo "source $(brew --prefix)/opt/chruby/share/chruby/chruby.sh" >> ~/.zshrc
echo "source $(brew --prefix)/opt/chruby/share/chruby/auto.sh" >> ~/.zshrc
echo "chruby ruby-3.1.3" >> ~/.zshrc # run 'chruby' to see actual version
source ~/.zshrc

# The following cmd should show ruby3.1.3
ruby -v

# Install gem
gem install jekyll

Build and serve the site:

bundle install
bundle exec jekyll serve

References: