#!/bin/sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ruby
sudo gem install github-pages
sudo gem install pygments.rb
echo "You can run the server by using 'jekyll serve'."

#!/bin/sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
source ~/.zshrc
rbenv install 3.0.0
rbenv global 3.0.0
ruby -v
rbenv rehash
gem install github-pages
gem install pygments.rb
gem install webrick
echo "You can run the server by using 'jekyll serve'."

Fix build failure on Apple M1
Fix build failure on Apple M1
