So you want a static site that does not require finger crossing every time you push code. Good choice. This guide walks through installing Jekyll on Windows 10 using RubyInstaller, MSYS2, and Bundler so you can build and serve a local static site without weeping into the terminal.
Short list so you do not get surprised halfway through
Download RubyInstaller for Windows from the official site and run the installer. When the installer asks to set up the MSYS2 development toolchain agree to it. That toolchain provides the native libraries some gems need to compile.
After installation open a new command prompt that has Ruby on the PATH. If the installer included the ridk helper you can run the helper to finish MSYS2 setup. Restart your terminal after the installation steps so environment changes take effect.
ruby -v
gem -v
If ruby and gem return versions you are ready to install Jekyll.
Keep calm and run the gem command. Bundler keeps your gem versions from surprising you later.
gem install jekyll bundler
If gem compilation fails check that MSYS2 was installed and that you restarted the command prompt after Ruby installation. If native extensions fail open the MSYS2 shell and update packages with the package manager. A common fix is running the MSYS2 shell and updating with pacman.
The generator scaffolds everything so you can stop imagining the folders and actually have them. Replace mysite with your preferred name.
jekyll new mysite
cd mysite
bundle install
bundle exec jekyll serve
Bundler ensures consistent versions across systems. The last command starts a local server. Open the address shown in the terminal in your browser to view the site. If the page does not load check the terminal for errors and fix any missing gems or permission issues.
This guide covered installing Ruby and MSYS2 in Windows 10 installing Jekyll and Bundler creating a new site and serving it locally. Follow the commands above and check terminal messages for clues if something goes sideways. And if you get tired of native build surprises try WSL for fewer headaches.
Now go create a static site that looks expensive but was built with minimal suffering.
I know how you can get Azure Certified, Google Cloud Certified and AWS Certified. It's a cool certification exam simulator site called certificationexams.pro. Check it out, and tell them Cameron sent ya!
This is a dedicated watch page for a single video.