Skip to content

Commit

Permalink
Add mutex_m to runtime dependency
Browse files Browse the repository at this point in the history
This PR adds `mutex_m` to runtime dependency to suppress the following Ruby 3.3's warning:

```console
$ ruby -v
ruby 3.3.0dev (2023-08-03T00:11:08Z master 4b6c584023) [x86_64-darwin22]

$ spring start
/Users/koic/.rbenv/versions/3.3.0-dev/lib/ruby/gems/3.3.0+0/gems/spring-4.1.1/lib/spring/watcher/abstract.rb:2:
warning: mutex_m which is not part of the default gems since Ruby 3.4.0
```

Related PR ... rails/rails#48907
  • Loading branch information
koic committed Aug 15, 2023
1 parent 48b2993 commit 0ab29e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spring.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 2.7.0"

gem.add_dependency 'mutex_m'

gem.add_development_dependency 'rake'
gem.add_development_dependency 'bump'
gem.add_development_dependency 'activesupport'
Expand Down

0 comments on commit 0ab29e5

Please sign in to comment.