In this example we will install Jekyll, OpenJDK 8, and s3_website on a Mac.
The first step will be to install Homebrew. On the Mac Terminal application copy and paste the following text:
Then we can install OpenJDK 8:
If you have multiple versions of Java on your computer, you will need jenv:
The last line immediately above may need to adjusted to the location on OpenJDK on your Mac.
The next step will be to install Ruby
ruby 2.7.1p83. Run the following command to make sure this version of Ruby is installed on your Mac:
You can install the Ruby if its not the latest version with:
You can find documentation on Jekyll installation at https://jekyllrb.com/docs/installation/macos/
If you have multiple versions of Ruby on your Mac you probably should install rbenv:
Finally to install s3_website, run this command:
You should now have Ruby, Jekyll, OpenJDK 8 and S3 Website installed on your Mac!