TL;DR
curl -L https://get.rvm.io | bash -s stable
rvm install ruby-2.6.3
rvm use ruby-2.6.3
sudo gem install jekyll
- Install the Ruby Version Manager
rvmcurl -L https://get.rvm.io | bash -s stable - Install ruby 2.6.3 or higher:
rvm install ruby-2.6.3Without this step you’ll get
Undefined symbols for architecture i386error later when installing jekyll. - Select installed version of
ruby:rvm use ruby-2.6.3 - Install
jekyllsudo gem install jekyllNote: you might need to launch a new teminal tab to make
jekyllcommand available. - Now you can serve your static website locally:
jekyll serve --trace
