Skip to content

Commit

Permalink
Add matrix gem to runtime dependency, required for ruby 3.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin authored and phillbaker committed Apr 1, 2023
1 parent d1ca020 commit f90b0ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rubystats.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,11 @@ Gem::Specification.new do |s|

s.add_development_dependency("minitest", ">= 4.2", "< 5.0")
s.add_development_dependency("hoe", ">= 1.7.0")
if RUBY_VERSION >= "3.1"
# matrix was removed from default gems in Ruby 3.1, see
# https://github.com/ruby/ruby/pull/4530 and https://stdgems.org/
s.add_runtime_dependency("matrix")
end

end

0 comments on commit f90b0ac

Please sign in to comment.