Jekyll runs on Windows 10, not on Linux Subsytem

I recently installed Ruby and Jekyll on my Windows 10 system and it works fine. But I'm not able to access Ruby and Jekyll from bash. I get this error:

Bash: / mnt / c / Ruby25-x64 / bin / jekyll: C: /Ruby25-x64/bin/ruby.exe: Bad Interpreter: No such file or directory

How do I fix this? Can I just install it with these instructions on my Linux subsystem? They provide instructions for installing on Windows via Bash, but they did not work for me.

I am using Ubuntu 18 and have downloaded Ruby 2.5

performance – How can you provide Jekyll pages with gzip compression on GitLab pages?

Some of your previous answers have not been well received and you run the risk of being blocked from answering.

Please note the following notes exactly:

  • Please be sure answer the question, Enter details and share your research!

But avoid

  • Ask for help, clarification or answering other answers.
  • Make statements based on opinions; secure them with references or personal experiences.

For more information, see our tips for writing great answers.