Skip to content

Commit

Permalink
Fix Ruby 3.4 tests on older Rails versions
Browse files Browse the repository at this point in the history
The mutex_m standard library seems to have been extracted into a separate gem in
Ruby 3.4.
  • Loading branch information
janko committed Dec 25, 2024
1 parent 1f9064d commit 76251a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gemfiles/Gemfile.rails-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ if RUBY_VERSION >= "3.1.0"
# rake gem dependency on Ruby 3.1+
gem "matrix"
end

if RUBY_VERSION >= "3.4.0"
gem "mutex_m"
end
4 changes: 4 additions & 0 deletions gemfiles/Gemfile.rails-6.1
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ if RUBY_VERSION >= "3.1.0"
# rake gem dependency on Ruby 3.1+
gem "matrix"
end

if RUBY_VERSION >= "3.4.0"
gem "mutex_m"
end
4 changes: 4 additions & 0 deletions gemfiles/Gemfile.rails-7.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ if RUBY_VERSION >= "3.1.0"
# rake gem dependency on Ruby 3.1+
gem "matrix"
end

if RUBY_VERSION >= "3.4.0"
gem "mutex_m"
end

0 comments on commit 76251a8

Please sign in to comment.