Reputation: 3573
Is there a way to run Jekyll on windows without installing Ruby or anything else?
It doesn't need to be perfect - I am basically looking for a simple way to preview a Jekyll and GitHub pages based blog.
Upvotes: 2
Views: 883
Reputation: 36441
It's not possible without copying anything onto your machine, but it's possible without installing anything.
You can use Portable Jekyll - it's a portable download including Ruby and anything else needed to run Jekyll.
Just download it as a .zip file, unzip on your machine and run setpath.cmd
, which opens a command prompt with all environment variables set that you need to execute Jekyll.
I'm using this to build multiple Jekyll sites locally on my Windows machine.
By slightly tweaking setpath.cmd
, it's also possible to create a batch file which you can just double-click to build your site.
I submitted a pull request for that (but unfortunately it has not yet been merged yet), read the description for more information.
Upvotes: 5