Cannot find "jekyll-theme-primer" stylesheet to import when running 'jekyll build' for GoogleTest

Related to: [Bug]: Cannot find "jekyll-theme-primer" stylesheet to import when running 'jekyll build' command. · Issue #4417 · google/googletest · GitHub

Describe the issue

Recently, I’ve been studying Jekyll, and trying to use jekyll build command to generate an HTML documentation for GoogleTest locally. However, there is an error occurred:

Error: Can't find stylesheet to import.
  ╷
1 │ @import "jekyll-theme-primer";
  │         ^^^^^^^^^^^^^^^^^^^^^
  ╵

Even though I already runned gem install jekyll-theme-primer to install jekyll-theme-primer, the error still exists.

C:\Users\hwhsu1231>gem install jekyll-theme-primer
Successfully installed jekyll-theme-primer-0.6.0
Parsing documentation for jekyll-theme-primer-0.6.0
Done installing documentation for jekyll-theme-primer after 0 seconds
1 gem installed

What happened? What did I miss?

Steps to reproduce the problem

  1. Install Ruby and Jekyll following the instructions:

    ridk install
    3
    gem install jekyll bundler
    gem update --system 3.4.22
    
  2. Git clone GoogleTest repo and run jekyll build command:

    git clone https://github.com/google/googletest.git
    cd googletest
    cd docs
    jekyll build --trace
    

See the following logs for details:

LOG-1-rdik-install.txt
 _____       _           _____           _        _ _         ___
|  __ \     | |         |_   _|         | |      | | |       |__ \
| |__) |   _| |__  _   _  | |  _ __  ___| |_ __ _| | | ___ _ __ ) |
|  _  / | | | '_ \| | | | | | | '_ \/ __| __/ _` | | |/ _ \ '__/ /
| | \ \ |_| | |_) | |_| |_| |_| | | \__ \ || (_| | | |  __/ | / /_
|_|  \_\__,_|_.__/ \__, |_____|_| |_|___/\__\__,_|_|_|\___|_||____|
                    __/ |           _
                   |___/          _|_ _  __   | | o __  _| _     _
                                   | (_) |    |^| | | |(_|(_)\^/_>

   1 - MSYS2 base installation
   2 - MSYS2 system update (optional)
   3 - MSYS2 and MINGW development toolchain

Which components shall be installed? If unsure press ENTER [1,3] 3

> sh -lc true
'C:\WINDOWS\system32\drivers\etc\hosts' -> '/etc/hosts'
'C:\WINDOWS\system32\drivers\etc\protocol' -> '/etc/protocols'
'C:\WINDOWS\system32\drivers\etc\services' -> '/etc/services'
'C:\WINDOWS\system32\drivers\etc\networks' -> '/etc/networks'
gpg: /etc/pacman.d/gnupg/trustdb.gpg: 建立了信任資料庫
gpg: 沒有找到任何徹底信任的金鑰
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> 正在生成 pacman 主控金鑰。這可能需要一點時間。
gpg: Generating pacman keyring master key...
gpg: 目錄 '/etc/pacman.d/gnupg/openpgp-revocs.d' 已建立
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/EFCFFDDE41525FA942D85F30A0B668040F3AC3E9.rev'
gpg: Done
==> 正在更新信任資料庫...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: 深度: 0  有效:   1  已簽署:   0  信任: 0-, 0q, 0n, 0m, 0f, 1u
==> 正從 msys2.gpg 附加金鑰...
==> 正於本地端簽署鑰匙圈中信任的金鑰...
  -> 本機已簽署 5 金鑰。
==> 正在匯入擁有者的信任值...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> 正在停用鑰匙圈中被撤銷的金鑰...
  -> 已停用 4 金鑰。
==> 正在更新信任資料庫...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: 深度: 0  有效:   1  已簽署:   5  信任: 0-, 0q, 0n, 0m, 0f, 1u
gpg: 深度: 1  有效:   5  已簽署:   6  信任: 0-, 0q, 0n, 5m, 0f, 0u
gpg: 深度: 2  有效:   3  已簽署:   2  信任: 3-, 0q, 0n, 0m, 0f, 0u
gpg: 取得 'alexey.pawlow@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 F40D263ECA25678A: "Alexey Pavlov (Alexpux) <alexey.pawlow@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'david.macek.0@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 790AE56A1D3CFDDC: "David Macek (MSYS2 master key) <david.macek.0@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'martellmalone@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 DA7EF2ABAEEA755C: "Martell Malone (martell) <martellmalone@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'reiter.christoph@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 755B8182ACD22879: "Christoph Reiter (MSYS2 master key) <reiter.christoph@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'icquinteiro@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 9F418C233E652008: "Ignacio Casal Quinteiro <icquinteiro@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'mingw.android@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 BBE514E53E0D0813: "Ray Donnelly (MSYS2 Developer - master key) <mingw.android@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'alexpux@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 5F92EFC1A47D45A1: "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'david.macek.0@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 974C8BE49078F532: "David Macek <david.macek.0@gmail.com>" 3 份新的簽章
gpg: 金鑰 974C8BE49078F532: "David Macek <david.macek.0@gmail.com>" 已清除 1 份簽章
gpg: 處理總量: 1
gpg:               新的簽章: 3
gpg:       已清除的簽章: 1
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: 深度: 0  有效:   1  已簽署:   5  信任: 0-, 0q, 0n, 0m, 0f, 1u
gpg: 深度: 1  有效:   5  已簽署:   7  信任: 0-, 0q, 0n, 5m, 0f, 0u
gpg: 深度: 2  有效:   4  已簽署:   2  信任: 4-, 0q, 0n, 0m, 0f, 0u
gpg: 下次信任資料庫檢查將於 2024-04-10 進行
gpg: 取得 'reiter.christoph@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 FA11531AA0AA7F57: "Christoph Reiter (MSYS2 development key) <reiter.christoph@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'me@martellmalone.com' (經由 WKD ) 時出錯: 無名稱
gpg: error reading key: 無名稱
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 794DCF97F93FC717: "Martell Malone (martell) <me@martellmalone.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'martellmalone@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 D595C9AB2C51581E: "Martell Malone (MSYS2 Developer) <martellmalone@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
gpg: 取得 'mingw.android@gmail.com' (經由 WKD ) 時出錯: 沒有資料
gpg: error reading key: 沒有資料
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: 金鑰 4DF3B7664CA56930: "Ray Donnelly (MSYS2 Developer) <mingw.android@gmail.com>" 未改變
gpg: 處理總量: 1
gpg:               未改變的: 1
MSYS2 seems to be properly installed
Install MSYS2 and MINGW development toolchain ...
> pacman -S --needed --noconfirm autoconf autogen automake-wrapper diffutils file gawk grep libtool m4 make patch sed texinfo texinfo-tex wget mingw-w64-ucrt-x86_64-binutils mingw-w64-ucrt-x86_64-crt-git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-gcc-libs mingw-w64-ucrt-x86_64-headers-git mingw-w64-ucrt-x86_64-libmangle-git mingw-w64-ucrt-x86_64-libwinpthread-git mingw-w64-ucrt-x86_64-make mingw-w64-ucrt-x86_64-tools-git mingw-w64-ucrt-x86_64-winpthreads-git pkgconf mingw-w64-ucrt-x86_64-pkgconf
警告:autoconf-wrapper-20221207-1 已經為最新——跳過
警告:autogen-5.18.16-4 已經為最新——跳過
警告:automake-wrapper-20221207-1 已經為最新——跳過
警告:diffutils-3.9-1 已經為最新——跳過
警告:file-5.44-5 已經為最新——跳過
警告:gawk-5.2.1-2 已經為最新——跳過
警告:grep-1~3.0-6 已經為最新——跳過
警告:libtool-2.4.7-3 已經為最新——跳過
警告:m4-1.4.19-2 已經為最新——跳過
警告:make-4.4.1-1 已經為最新——跳過
警告:patch-2.7.6-2 已經為最新——跳過
警告:sed-4.9-1 已經為最新——跳過
警告:texinfo-7.0.3-1 已經為最新——跳過
警告:texinfo-tex-7.0.3-1 已經為最新——跳過
警告:wget-1.21.3-2 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-binutils-2.40-2 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-crt-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-gcc-12.2.0-10 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-gcc-libs-12.2.0-10 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-headers-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-libmangle-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-libwinpthread-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-make-4.4-2 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-tools-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-winpthreads-git-10.0.0.r248.g5f566373f-1 已經為最新——跳過
警告:pkgconf-1.9.4-1 已經為最新——跳過
警告:mingw-w64-ucrt-x86_64-pkgconf-1~1.8.0-2 已經為最新——跳過
已無事可做
Install MSYS2 and MINGW development toolchain succeeded

You can use 'ridk enable' to activate the MSYS2 tools on the command prompt.

   1 - MSYS2 base installation
   2 - MSYS2 system update (optional)
   3 - MSYS2 and MINGW development toolchain

Which components shall be installed? If unsure press ENTER []
LOG-2-gem-install-jekyll-and-bundler.txt
C:\Users\hwhsu1231>gem install jekyll bundler
Fetching webrick-1.8.1.gem
Fetching unicode-display_width-2.5.0.gem
Fetching terminal-table-3.0.2.gem
Fetching safe_yaml-1.0.5.gem
Fetching rouge-4.2.0.gem
Fetching forwardable-extended-2.6.0.gem
Fetching pathutil-0.16.2.gem
Fetching mercenary-0.4.0.gem
Fetching liquid-4.0.4.gem
Fetching kramdown-2.4.0.gem
Fetching kramdown-parser-gfm-1.1.0.gem
Fetching ffi-1.16.3-x64-mingw-ucrt.gem
Fetching rb-inotify-0.10.1.gem
Fetching rb-fsevent-0.11.2.gem
Fetching listen-3.8.0.gem
Fetching jekyll-watch-2.2.1.gem
Fetching google-protobuf-3.25.0-x64-mingw-ucrt.gem
Fetching sass-embedded-1.69.5-x64-mingw-ucrt.gem
Fetching jekyll-sass-converter-3.0.0.gem
Fetching concurrent-ruby-1.2.2.gem
Fetching i18n-1.14.1.gem
Fetching http_parser.rb-0.8.0.gem
Fetching eventmachine-1.2.7.gem
Fetching em-websocket-0.5.3.gem
Fetching jekyll-4.3.2.gem
Fetching colorator-1.1.0.gem
Fetching public_suffix-5.0.3.gem
Fetching addressable-2.8.5.gem
Successfully installed webrick-1.8.1
Successfully installed unicode-display_width-2.5.0
Successfully installed terminal-table-3.0.2
Successfully installed safe_yaml-1.0.5
Successfully installed rouge-4.2.0
Successfully installed forwardable-extended-2.6.0
Successfully installed pathutil-0.16.2
Successfully installed mercenary-0.4.0
Successfully installed liquid-4.0.4
Successfully installed kramdown-2.4.0
Successfully installed kramdown-parser-gfm-1.1.0
Successfully installed ffi-1.16.3-x64-mingw-ucrt
Successfully installed rb-inotify-0.10.1
Successfully installed rb-fsevent-0.11.2
Successfully installed listen-3.8.0
Successfully installed jekyll-watch-2.2.1
Successfully installed google-protobuf-3.25.0-x64-mingw-ucrt
Successfully installed sass-embedded-1.69.5-x64-mingw-ucrt
Successfully installed jekyll-sass-converter-3.0.0
Successfully installed concurrent-ruby-1.2.2
Successfully installed i18n-1.14.1
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
Successfully installed http_parser.rb-0.8.0
Building native extensions. This could take a while...
Successfully installed eventmachine-1.2.7
Successfully installed em-websocket-0.5.3
Successfully installed colorator-1.1.0
Successfully installed public_suffix-5.0.3
Successfully installed addressable-2.8.5
Successfully installed jekyll-4.3.2
Parsing documentation for webrick-1.8.1
Installing ri documentation for webrick-1.8.1
Parsing documentation for unicode-display_width-2.5.0
Installing ri documentation for unicode-display_width-2.5.0
Parsing documentation for terminal-table-3.0.2
Installing ri documentation for terminal-table-3.0.2
Parsing documentation for safe_yaml-1.0.5
Installing ri documentation for safe_yaml-1.0.5
Parsing documentation for rouge-4.2.0
Installing ri documentation for rouge-4.2.0
Parsing documentation for forwardable-extended-2.6.0
Installing ri documentation for forwardable-extended-2.6.0
Parsing documentation for pathutil-0.16.2
Installing ri documentation for pathutil-0.16.2
Parsing documentation for mercenary-0.4.0
Installing ri documentation for mercenary-0.4.0
Parsing documentation for liquid-4.0.4
Installing ri documentation for liquid-4.0.4
Parsing documentation for kramdown-2.4.0
Installing ri documentation for kramdown-2.4.0
Parsing documentation for kramdown-parser-gfm-1.1.0
Installing ri documentation for kramdown-parser-gfm-1.1.0
Parsing documentation for ffi-1.16.3-x64-mingw-ucrt
Installing ri documentation for ffi-1.16.3-x64-mingw-ucrt
Parsing documentation for rb-inotify-0.10.1
Installing ri documentation for rb-inotify-0.10.1
Parsing documentation for rb-fsevent-0.11.2
Installing ri documentation for rb-fsevent-0.11.2
Parsing documentation for listen-3.8.0
Installing ri documentation for listen-3.8.0
Parsing documentation for jekyll-watch-2.2.1
Installing ri documentation for jekyll-watch-2.2.1
Parsing documentation for google-protobuf-3.25.0-x64-mingw-ucrt
Installing ri documentation for google-protobuf-3.25.0-x64-mingw-ucrt
Parsing documentation for sass-embedded-1.69.5-x64-mingw-ucrt
Installing ri documentation for sass-embedded-1.69.5-x64-mingw-ucrt
Parsing documentation for jekyll-sass-converter-3.0.0
Installing ri documentation for jekyll-sass-converter-3.0.0
Parsing documentation for concurrent-ruby-1.2.2
Installing ri documentation for concurrent-ruby-1.2.2
Parsing documentation for i18n-1.14.1
Installing ri documentation for i18n-1.14.1
Parsing documentation for http_parser.rb-0.8.0
unknown encoding name "chunked\r\n\r\n25" for ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb, skipping
Installing ri documentation for http_parser.rb-0.8.0
Parsing documentation for eventmachine-1.2.7
Installing ri documentation for eventmachine-1.2.7
Parsing documentation for em-websocket-0.5.3
Installing ri documentation for em-websocket-0.5.3
Parsing documentation for colorator-1.1.0
Installing ri documentation for colorator-1.1.0
Parsing documentation for public_suffix-5.0.3
Installing ri documentation for public_suffix-5.0.3
Parsing documentation for addressable-2.8.5
Installing ri documentation for addressable-2.8.5
Parsing documentation for jekyll-4.3.2
Installing ri documentation for jekyll-4.3.2
Done installing documentation for webrick, unicode-display_width, terminal-table, safe_yaml, rouge, forwardable-extended, pathutil, mercenary, liquid, kramdown, kramdown-parser-gfm, ffi, rb-inotify, rb-fsevent, listen, jekyll-watch, google-protobuf, sass-embedded, jekyll-sass-converter, concurrent-ruby, i18n, http_parser.rb, eventmachine, em-websocket, colorator, public_suffix, addressable, jekyll after 34 seconds
Fetching bundler-2.4.22.gem
Successfully installed bundler-2.4.22
Parsing documentation for bundler-2.4.22
Installing ri documentation for bundler-2.4.22
Done installing documentation for bundler after 0 seconds
29 gems installed

A new release of RubyGems is available: 3.4.10 → 3.4.22!
Run `gem update --system 3.4.22` to update your installation.


C:\Users\hwhsu1231>gem update --system 3.4.22
Updating rubygems-update
Fetching rubygems-update-3.4.22.gem
Successfully installed rubygems-update-3.4.22
Parsing documentation for rubygems-update-3.4.22
Installing ri documentation for rubygems-update-3.4.22
Done installing documentation for rubygems-update after 1 seconds
Parsing documentation for rubygems-update-3.4.22
Done installing documentation for rubygems-update after 0 seconds
Installing RubyGems 3.4.22
  Successfully built RubyGem
  Name: bundler
  Version: 2.4.22
  File: bundler-2.4.22.gem
Bundler 2.4.22 installed
RubyGems 3.4.22 installed
Regenerating binstubs
Regenerating plugins
Parsing documentation for rubygems-3.4.22
Installing ri documentation for rubygems-3.4.22

# 3.4.22 / 2023-11-09

## Enhancements:

* Update SPDX license list as of 2023-10-05. Pull request
  [#7040](https://github.com/rubygems/rubygems/pull/7040) by
  github-actions[bot]
* Remove unnecessary rescue. Pull request
  [#7109](https://github.com/rubygems/rubygems/pull/7109) by
  deivid-rodriguez
* Installs bundler 2.4.22 as a default gem.

## Bug fixes:

* Handle empty array at built-in YAML serializer. Pull request
  [#7099](https://github.com/rubygems/rubygems/pull/7099) by hsbt
* Ignore non-tar format `.gem` files during search. Pull request
  [#7095](https://github.com/rubygems/rubygems/pull/7095) by dearblue
* Allow explicitly uninstalling multiple versions of same gem. Pull
  request [#7063](https://github.com/rubygems/rubygems/pull/7063) by
  kstevens715

## Performance:

* Avoid regexp match on every call to `Gem::Platform.local`. Pull request
  [#7104](https://github.com/rubygems/rubygems/pull/7104) by segiddins

## Documentation:

* Get `Gem::Specification#extensions_dir` documented. Pull request
  [#6218](https://github.com/rubygems/rubygems/pull/6218) by
  deivid-rodriguez

# 3.4.21 / 2023-10-17

## Enhancements:

* Abort `setup.rb` if Ruby is too old. Pull request
  [#7011](https://github.com/rubygems/rubygems/pull/7011) by
  deivid-rodriguez
* Remove usage of Dir.chdir that only execute a subprocess. Pull request
  [#6930](https://github.com/rubygems/rubygems/pull/6930) by segiddins
* Freeze more strings in generated gemspecs. Pull request
  [#6974](https://github.com/rubygems/rubygems/pull/6974) by segiddins
* Use pure-ruby YAML parser for loading configuration at RubyGems. Pull
  request [#6615](https://github.com/rubygems/rubygems/pull/6615) by hsbt
* Installs bundler 2.4.21 as a default gem.

## Documentation:

* Update suggested variable for bindir. Pull request
  [#7028](https://github.com/rubygems/rubygems/pull/7028) by hsbt
* Fix invalid links in documentation. Pull request
  [#7008](https://github.com/rubygems/rubygems/pull/7008) by simi

# 3.4.20 / 2023-09-27

## Enhancements:

* Raise `Gem::Package::FormatError` when gem encounters corrupt EOF.
  Pull request [#6882](https://github.com/rubygems/rubygems/pull/6882)
  by martinemde
* Allow skipping empty license `gem build` warning by setting license to
  `nil`. Pull request
  [#6879](https://github.com/rubygems/rubygems/pull/6879) by jhong97
* Update SPDX license list as of 2023-06-18. Pull request
  [#6891](https://github.com/rubygems/rubygems/pull/6891) by
  github-actions[bot]
* Update SPDX license list as of 2023-04-28. Pull request
  [#6642](https://github.com/rubygems/rubygems/pull/6642) by segiddins
* Update SPDX license list as of 2023-01-26. Pull request
  [#6310](https://github.com/rubygems/rubygems/pull/6310) by segiddins
* Installs bundler 2.4.20 as a default gem.

## Bug fixes:

* Fixed false positive SymlinkError in symbolic link directory. Pull
  request [#6947](https://github.com/rubygems/rubygems/pull/6947) by
  negi0109
* Ensure that loading multiple gemspecs with legacy YAML class references
  does not warn. Pull request
  [#6889](https://github.com/rubygems/rubygems/pull/6889) by segiddins
* Fix NoMethodError when choosing a too big number from `gem uni` list.
  Pull request [#6901](https://github.com/rubygems/rubygems/pull/6901) by
  amatsuda

## Performance:

* Reduce allocations for stub specifications. Pull request
  [#6972](https://github.com/rubygems/rubygems/pull/6972) by segiddins

# 3.4.19 / 2023-08-17

## Enhancements:

* Installs bundler 2.4.19 as a default gem.

## Performance:

* Speedup building docs when updating rubygems. Pull request
  [#6864](https://github.com/rubygems/rubygems/pull/6864) by
  deivid-rodriguez

# 3.4.18 / 2023-08-02

## Enhancements:

* Add poller to fetch WebAuthn OTP. Pull request
  [#6774](https://github.com/rubygems/rubygems/pull/6774) by jenshenny
* Remove side effects when unmarshaling old `Gem::Specification`. Pull
  request [#6825](https://github.com/rubygems/rubygems/pull/6825) by nobu
* Ship rubygems executables in `exe` folder. Pull request
  [#6704](https://github.com/rubygems/rubygems/pull/6704) by hsbt
* Installs bundler 2.4.18 as a default gem.

# 3.4.17 / 2023-07-14

## Enhancements:

* Installs bundler 2.4.17 as a default gem.

## Performance:

* Avoid unnecessary work for private local gem installation. Pull request
  [#6810](https://github.com/rubygems/rubygems/pull/6810) by
  deivid-rodriguez

# 3.4.16 / 2023-07-10

## Enhancements:

* Installs bundler 2.4.16 as a default gem.

# 3.4.15 / 2023-06-29

## Enhancements:

* Installs bundler 2.4.15 as a default gem.

## Bug fixes:

* Autoload shellwords when it's needed. Pull request
  [#6734](https://github.com/rubygems/rubygems/pull/6734) by ioquatix

## Documentation:

* Update command to test local gem command changes. Pull request
  [#6761](https://github.com/rubygems/rubygems/pull/6761) by jenshenny

# 3.4.14 / 2023-06-12

## Enhancements:

* Load plugin immediately. Pull request
  [#6673](https://github.com/rubygems/rubygems/pull/6673) by kou
* Installs bundler 2.4.14 as a default gem.

## Documentation:

* Clarify what the `rubygems-update` gem is for, and link to source code
  and guides. Pull request
  [#6710](https://github.com/rubygems/rubygems/pull/6710) by davetron5000

# 3.4.13 / 2023-05-09

## Enhancements:

* Installs bundler 2.4.13 as a default gem.

# 3.4.12 / 2023-04-11

## Enhancements:

* [Experimental] Add WebAuthn Support to the CLI. Pull request
  [#6560](https://github.com/rubygems/rubygems/pull/6560) by jenshenny
* Installs bundler 2.4.12 as a default gem.

# 3.4.11 / 2023-04-10

## Enhancements:

* Installs bundler 2.4.11 as a default gem.


------------------------------------------------------------------------------

RubyGems installed the following executables:
        C:/Ruby32-x64/bin/gem
        C:/Ruby32-x64/bin/bundle
        C:/Ruby32-x64/bin/bundler

Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for Ruby libraries. You may access it like this:
  ri Classname
  ri Classname.class_method
  ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.

RubyGems system software updated

C:\Users\hwhsu1231>
LOG-3-git-clone-and-jekyll-build.txt
D:\Test>git clone https://github.com/google/googletest.git
Cloning into 'googletest'...
remote: Enumerating objects: 27028, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 27028 (delta 27), reused 46 (delta 26), pack-reused 26961
Receiving objects: 100% (27028/27028), 12.52 MiB | 2.86 MiB/s, done.
Resolving deltas: 100% (20057/20057), done.

D:\Test>cd googletest

D:\Test\googletest>cd docs

D:\Test\googletest\docs>jekyll build --trace
Configuration file: D:/Test/googletest/docs/_config.yml
            Source: D:/Test/googletest/docs
       Destination: D:/Test/googletest/docs/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
Error: Can't find stylesheet to import.
  ╷
1 │ @import "jekyll-theme-primer";
  │         ^^^^^^^^^^^^^^^^^^^^^
  ╵
  D:\Test\googletest\docs\assets\css\style.scss 1:9  root stylesheet
  Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/style.scss':
                    Can't find stylesheet to import.
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-sass-converter-3.0.0/lib/jekyll/converters/scss.rb:175:in `rescue in convert': Can't find stylesheet to import. (Jekyll::Converters::Scss::SyntaxError)

        raise SyntaxError, e.message
              ^^^^^^^^^^^^^^^^^^^^^^
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-sass-converter-3.0.0/lib/jekyll/converters/scss.rb:159:in `convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:105:in `block in convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `reduce'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:84:in `render_document'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:63:in `run'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:564:in `block in render_pages'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `render_pages'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:211:in `render'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby32-x64/bin/jekyll:32:in `load'
        from C:/Ruby32-x64/bin/jekyll:32:in `<main>'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sass-embedded-1.69.5-x64-mingw-ucrt/lib/sass/embedded/host/protofier.rb:24:in `from_proto_compile_response': Can't find stylesheet to import. (Sass::CompileError)
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sass-embedded-1.69.5-x64-mingw-ucrt/lib/sass/embedded/host.rb:67:in `compile_request'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sass-embedded-1.69.5-x64-mingw-ucrt/lib/sass/embedded.rb:212:in `compile_string'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/sass-embedded-1.69.5-x64-mingw-ucrt/lib/sass/embedded.rb:50:in `compile_string'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-sass-converter-3.0.0/lib/jekyll/converters/scss.rb:160:in `convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:105:in `block in convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `reduce'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:104:in `convert'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:84:in `render_document'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:63:in `run'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:564:in `block in render_pages'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:563:in `render_pages'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:211:in `render'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:28:in `process_site'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:65:in `build'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:36:in `process'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
        from C:/Ruby32-x64/bin/jekyll:32:in `load'
        from C:/Ruby32-x64/bin/jekyll:32:in `<main>'

D:\Test\googletest\docs>

What version of GoogleTest are you using?

b10fad38c4026a29ea6561ab15fc4818170d1c10

What operating system and version are you using?

Windows 11

Additional context

  • Ruby version: ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]
  • Jekyll version: jekyll 4.3.2
  • Bundler version: Bundler version 2.4.22
  • jekyll-theme-primer: 0.6.0

Hello, Jekyll Community.

Does anyone know what happened to this situation? If I want to build GoogleTest Docs locally, what should I do to? Does GoogleTest Docs miss something in its Jekyll configuration file?

try going to assets/css/style.scss and remove the primer import and see what happens. I think it should build but maybe the css will be broken.

I don’t see anywhere that they are importing it, looks wrong to me. If there end up being a bunch of styles missing then dig around in the ruby gem primer folder and copy the jekyll-theme-primer file into the sass folder and see if that works.

Note that I have no idea what that project is, I just followed your link and poked around.

image