Local build of website fails mentioning webrick

Summary

Before I open an issue I wished to check if the Qubes OS documentation was being built differently now.

Details

Following these instructions to build the website locally:

within a Fedora 35 qube. Running:

sudo make

results in:

podman start -a qubesosgithubio_jekyll_1
ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux-musl]
Configuration file: /srv/jekyll/_config.yml
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
                    done in 38.795 seconds.
 Auto-regeneration: enabled for '/srv/jekyll'
/usr/gem/gems/jekyll-3.9.2/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)

By adding:

gem 'webrick'

to the Gemfile:

it then builds successfully.

1 Like

See the below #197 PR commented by @Sven and @adw :

2 Likes

Thank you @ludovic.

This describes my issue very closely.

The build issue still seems to be present as the linked pull request was not merged.

However, knowing this is not unique to my environment resolves my immediate concerns.