-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix development dependencies #526
Conversation
Some changes in our dependency tree have led to broken builds. For example, `concurrent-ruby`, which Rails uses, stopped requiring `logger` on version 1.3.5, which was fixed in Rails 7.1. Another change is that Ruby decreased its standard library, removing some preloaded gems, such as `mutex_m`. This commit updates the dependencies to the latest supported version, limits the `concurrent-ruby` version to `< 1.3.4` in Rails versions that don't require `logger`, and adds `mutex_m` to the list of development dependencies.
f22abb8
to
7352027
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Will this also fix the Logger
-related CI failures? I'd tried to fix them in eae4dbc, but was unsuccessful.
@@ -24,6 +24,6 @@ class Application < Rails::Application | |||
end | |||
end | |||
|
|||
Rails.logger = Logger.new("/dev/null") | |||
Rails.logger = Logger.new(File::NULL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, didn't know about this :scribbles in notes:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL too - thanks new standard
check
@seanpdoyle It will! That was happening because |
Some changes in our dependency tree have led to broken builds. For example,
concurrent-ruby
, which Rails uses, stopped requiringlogger
on version 1.3.5, which was fixed in Rails 7.1. Another change is that Ruby decreased its standard library, removing some preloaded gems, such asmutex_m
.This commit updates the dependencies to the latest supported version, limits the
concurrent-ruby
version to< 1.3.4
in Rails versions that don't requirelogger
, and addsmutex_m
to the list of development dependencies.