- Be sure you have
rbenv
installed - Run
rbenv init
- (Optional) Verify with
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
- Run:
RUBY_CONFIGURE_OPTS="--with-openssl-dir=/usr/local/opt/openssl" rbenv install -v 2.7.1
rbenv global 2.7.1
ruby -v # Should print 2.7.1
gem install --user-install bundler jekyll
bundle install
rm -Rf _site && bundle exec jekyll build
bundle exec jekyll serve