Install Jekyell on windows (https://jekyllrb.com/docs/installation/windows/).
-
Download and install a Ruby+Devkit version from RubyInstaller Downloads. Use default options for installation.
-
Run the
ridk installstep on the last stage of the installation wizard. This is needed for installing gems with native extensions. You can find additional information regarding this in the RubyInstaller Documentation. The RubyInstaller should automatically kick off this step in a command window. -
Open a new command prompt window from the start menu, so that changes to the
PATHenvironment variable becomes effective. In Visual Studio Code you will need to restart the application for Terminal to pull the new path. Install Jekyll and Bundler usinggem install jekyll bundler -
Check if Jekyll has been installed properly:
jekyll -v -
Run
bundle update.
To execute Jekyll run the following command in a cmd terminal.
bundle exec jekyll serve --drafts --future