Skip to content

Conversation

@PetrHeinz
Copy link
Member

@PetrHeinz PetrHeinz commented Feb 3, 2025

Since Ruby 3.4, CI started to fail for Rails lower that 7.1

warning: mutex_m was loaded from the standard library, but is not part of the default gems starting from Ruby 3.4.0.
You can add mutex_m to your Gemfile or gemspec to silence this warning.

An error occurred while loading spec_helper. - Did you mean?
                    rspec ./spec/spec_helper.rb

Failure/Error: require "rails/railtie"

LoadError:
  cannot load such file -- mutex_m
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/notifications/fanout.rb:3:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/notifications.rb:4:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation/behaviors.rb:3:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation.rb:18:in '<class:Deprecation>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation.rb:8:in '<module:ActiveSupport>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/deprecation.rb:5:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/inflector/inflections.rb:5:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/activesupport-6.0.6.1/lib/active_support/inflector.rb:4:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/railties-6.0.6.1/lib/rails/railtie.rb:4:in '<top (required)>'
# ./lib/logtail-rails.rb:5:in '<top (required)>'
# ./spec/support/logtail.rb:1:in '<top (required)>'
# ./spec/spec_helper.rb:14:in '<top (required)>'

@PetrHeinz PetrHeinz merged commit 2e6b541 into main Feb 3, 2025
64 checks passed
@PetrHeinz PetrHeinz deleted the ph/fix-ci-mutex-m branch February 3, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants