The blog preview requires Ruby, currently version 2.3:

ruby -v
Copy the code

You need to update 2.6 by adding the repository first:

sudo add-apt-repository ppa:brightbox/ruby-ng
sudo apt-get update
Copy the code

Delete earlier versions of Ruby:

sudo apt-get purge --auto-remove ruby
Copy the code

Install ruby-2.6:

Sudo apt-get install ruby2.6 ruby2.6-devCopy the code

Done!