Installing on macOS
Apple has made this super annoying, and the Jekyll docs didn’t work for me. This worked:
Install Homebrew because the Ruby version shipped with macOS is outdated.
brew install ruby
Restart your terminal, and check the Ruby version:
Install Jekyll and Bundler
gem install jekyll bundler # Check version jekyll --version