httpclient
httpclient copied to clipboard
warning: mutex_m was loaded from the standard library
➜ autometa git:(main) ✗ bundle exec fastlane match
[⠙] 🚀 /Users/hasturk/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/auth.rb:11: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of httpclient-2.8.3 to add mutex_m into its gemspec.
Looks like this was already taken care of in https://github.com/nahi/httpclient/pull/455.
I encountered the same issue, so I searched for it and ended up here. I resolved it this way. Does this seem correct to you? It appears that the repository has been updated, but it seems that the version on RubyGems has not been incremented. (v2.8.3 December 09, 2016) Therefore, I switched to installing from GitHub instead of RubyGems. https://rubygems.org/gems/httpclient
Gemfile
gem "mutex_m"
gem 'httpclient', git: 'https://github.com/nahi/httpclient'
@nahi, is there any possibility of getting a new update pushed to RubyGems for httpclient? My team is dependent on it as a transitive dependency in an enterprise context, so it's preferred if we can resolve everything from RubyGems without overriding sources.
+1
httpclient 2.9.0 has been released that includes https://github.com/nahi/httpclient/pull/455