Skip to content

Commit

Permalink
Lock the ruby version number (cotes2020#245, cotes2020#247, cotes2020…
Browse files Browse the repository at this point in the history
…#344)

Since version 3.0, Ruby has no `webrick` that Jekyll (<= 4.2) needs

(cherry picked from commit 885ed44)
  • Loading branch information
cotes2020 authored and linkliu committed Dec 10, 2021
1 parent 7ab5746 commit 968f0cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jekyll-theme-chirpy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
"plugin_type" => "theme"
}

spec.required_ruby_version = [">= 2.4", "< 3.0"]

spec.add_runtime_dependency "jekyll", "~> 4.1"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-redirect-from", "~> 0.16"
Expand Down

0 comments on commit 968f0cd

Please sign in to comment.