Skip to content

Commit a841a56

Browse files
authored
Gemfile: add 'webrick' dependency for Ruby 3.0.0 and above
Fixes carpentries/styles#552
1 parent 03fb1a0 commit a841a56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
88
ruby '>=2.7.1'
99

1010
gem 'github-pages', group: :jekyll_plugins
11+
12+
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0.0')
13+
gem 'webrick', '>= 1.6.1'
14+
end

0 commit comments

Comments
 (0)