From 67fd05380128f2d3fe6656a8387b9e5008a0f8c0 Mon Sep 17 00:00:00 2001 From: timwis Date: Sun, 15 Jan 2023 07:22:36 +0000 Subject: [PATCH] =?UTF-8?q?Add=20webrick=20to=20Gemfile=20for=20Ruby=203.x?= =?UTF-8?q?=20support=20Jekyll=20uses=20webrick=20in=20development=20mode,?= =?UTF-8?q?=20and=20expects=20it=20to=20ship=20with=20Ruby.=20But=20Ruby?= =?UTF-8?q?=203.0=20stopped=20bundling=20webrick,=20which=20causes=20an=20?= =?UTF-8?q?error=20when=20you=20run=20`jekyll=20serve`=20using=20ruby=203.?= =?UTF-8?q?x.=20Jekyll=204.3.0=E2=80=94released=20Oct=202022=E2=80=94adds?= =?UTF-8?q?=20webrick=20as=20a=20dependency,=20but=20GitHub=20Pages=20stil?= =?UTF-8?q?l=20uses=20Jekyll=203.9.2=20and=20[has=20no=20immediate=20plans?= =?UTF-8?q?](https://github.com/github/pages-gem/issues/651#issuecomment-1?= =?UTF-8?q?208290235)=20to=20upgrade=20to=20Jekyll=204.=20Adding=20webrick?= =?UTF-8?q?=20to=20our=20Gemfile=20(per=20[this=20thread](https://github.c?= =?UTF-8?q?om/jekyll/jekyll/issues/8523))=20solves=20this=20problem=20in?= =?UTF-8?q?=20the=20meantime.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 1 + Gemfile.lock | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index 0c8671cde..3a00aa5a1 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source "https://rubygems.org" gem "github-pages", group: :jekyll_plugins +gem "webrick", "~> 1.7" diff --git a/Gemfile.lock b/Gemfile.lock index 612e73f9d..7fcb7fa54 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -26,10 +26,10 @@ GEM eventmachine (1.2.7) eventmachine (1.2.7-x64-mingw32) execjs (2.8.1) - faraday (2.6.0) + faraday (2.7.2) faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.1) + faraday-net_http (3.0.2) ffi (1.15.5) ffi (1.15.5-x64-mingw32) forwardable-extended (2.6.0) @@ -204,28 +204,26 @@ GEM kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.3) - listen (3.7.1) + listen (3.8.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6) - mini_portile2 (2.8.0) + mini_portile2 (2.8.1) minima (2.5.1) jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (5.16.3) - nokogiri (1.13.9) + minitest (5.17.0) + nokogiri (1.14.0) mini_portile2 (~> 2.8.0) racc (~> 1.4) - nokogiri (1.13.9-x64-mingw32) - racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) pathutil (0.16.2) forwardable-extended (~> 2.6) public_suffix (4.0.7) - racc (1.6.0) + racc (1.6.2) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) @@ -254,8 +252,8 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8.2) - unf_ext (0.0.8.2-x64-mingw32) unicode-display_width (1.8.0) + webrick (1.7.0) zeitwerk (2.6.6) PLATFORMS @@ -264,6 +262,7 @@ PLATFORMS DEPENDENCIES github-pages + webrick (~> 1.7) BUNDLED WITH - 2.1.4 + 2.4.3