Alexey Korepanov
by Alexey Korepanov
~1 min read

Categories

Tags

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
  1. Install the Ruby Version Manager rvm
    curl -L https://get.rvm.io | bash -s stable
    
  2. Install ruby 2.6.3 or higher:
    rvm install ruby-2.6.3
    

    Without this step you’ll get Undefined symbols for architecture i386 error later when installing jekyll.

  3. Select installed version of ruby:
    rvm use ruby-2.6.3
    
  4. Install jekyll
    sudo gem install jekyll
    

    Note: you might need to launch a new teminal tab to make jekyll command available.

  5. Now you can serve your static website locally:
    jekyll serve --trace