From a841a56c896554249ac2d8566d630080defe72b1 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 5 Mar 2021 11:28:26 -0500 Subject: [PATCH] Gemfile: add 'webrick' dependency for Ruby 3.0.0 and above Fixes carpentries/styles#552 --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 41c97a9a..8d69492b 100644 --- a/Gemfile +++ b/Gemfile @@ -8,3 +8,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } ruby '>=2.7.1' gem 'github-pages', group: :jekyll_plugins + +if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0') + gem 'webrick', '>= 1.6.1' +end \ No newline at end of file