varell.me

Install Jekyll with gem using Ubuntu on Windows Subsystem for Linux

Back

Install Jekyll with gem using Ubuntu on Windows Subsystem for Linux

This took awhile to figure out and actually install jekyll. However, with this handy guide of the errors I had, it won’t take long for future installations.

What is needed:

  • sudo apt install ruby
  • sudo apt install build-essential
  • sudo apt install rubyx.y-dev (x.y is the version of ruby you have which can be found with ruby -v)

Finally:

  • gem install jekyll
  • sudo apt install build-essential (resolves the error: sh: make: not found)

Errors

To resolve the error: