The easiest way to install Ruby and Jekyll is by using the RubyInstaller for Windows.
RubyInstaller is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important documentation, and more.
We only cover RubyInstaller-2.4 and newer here. Older versions need to install the Devkit manually.
Ruby 3.3.0
- 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. From the options chooseMSYS2 and MINGW development tool chain. - Open a new command prompt window from the start menu, so that changes to the
PATHenvironment variable becomes effective. Install Jekyll and Bundler usinggem install jekyll bundler - Check if Jekyll has been installed properly:
jekyll -v
gem install ruby-vips
NOTE: couldn't get web3ps to work, don't understand, and I don't like it.
bundle installbundle exec jekyll serve