From f720cc3e485dd4652e1396069d13bdc541402fa9 Mon Sep 17 00:00:00 2001 From: Daniel Bergey Date: Sat, 10 Feb 2024 19:12:22 -0500 Subject: [PATCH 1/2] upgrade nokogiri we're running into the issue fixed in https://github.com/sparklemotion/nokogiri/pull/2106 --- Gemfile | 2 ++ Gemfile.lock | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 2b93756..560b020 100644 --- a/Gemfile +++ b/Gemfile @@ -28,3 +28,5 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.0" if Gem.win_platform? gem "github-pages", group: :jekyll_plugins + +gem "nokogiri", "~> 1.11" diff --git a/Gemfile.lock b/Gemfile.lock index 53206ac..038f9b8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -198,20 +198,22 @@ GEM rb-inotify (~> 0.9, >= 0.9.7) ruby_dep (~> 1.2) mercenary (0.3.6) - mini_portile2 (2.4.0) + mini_portile2 (2.8.5) minima (2.5.0) jekyll (~> 3.5) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.11.3) multipart-post (2.0.0) - nokogiri (1.10.1) - mini_portile2 (~> 2.4.0) + nokogiri (1.15.5) + mini_portile2 (~> 2.8.2) + racc (~> 1.4) octokit (4.13.0) sawyer (~> 0.8.0, >= 0.5.3) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (3.0.3) + racc (1.7.3) rb-fsevent (0.10.3) rb-inotify (0.10.0) ffi (~> 1.0) @@ -246,6 +248,7 @@ DEPENDENCIES jekyll (~> 3.7.3) jekyll-feed (~> 0.6) minima (~> 2.0) + nokogiri (~> 1.11) tzinfo-data BUNDLED WITH From e2ba99371f3cf41b77c61c392c706977da74eb07 Mon Sep 17 00:00:00 2001 From: Daniel Bergey Date: Sat, 10 Feb 2024 19:26:55 -0500 Subject: [PATCH 2/2] build mdbook without search feature error is: error: failed to compile `mdbook v0.2.3`, intermediate artifacts can be found at `/tmp/cargo-installjZOKMC` Caused by: failed to select a version for the requirement `ammonia = "^1.1"` candidate versions found which didn't match: 3.3.0, 3.2.1, 3.2.0, ... I believe because ammonia-1.1 was pulled from crates.io --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1aed0ff..1122c6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,7 +21,7 @@ jobs: - name: Install Rust run: rustup update stable && rustup default stable - run: gem install bundler -v 1.16.5 && bundle install --retry=3 --jobs=4 - - run: cargo install mdbook --version 0.2.3 + - run: cargo install mdbook --version 0.2.3 --no-default-features - run: ./ci/build.sh - name: Push to gh-pages