Skip to content

Commit 1e7e9df

Browse files
committed
Fix a build error for Ruby 3.5 CI matrix
This is a workaround to resolve the following error in Ruby 3.5: ```console /home/runner/work/webmock/webmock/vendor/bundle/ruby/3.5.0+0/gems/ethon-0.16.0/lib/ethon.rb:2: warning: logger was loaded from the standard library, but is not part of the default gems starting from Ruby 3.5.0. It can likely be removed once `ethon`, which is a dependency of `typhoeus`, manages its `logger` dependency. ``` https://github.com/bblimke/webmock/actions/runs/13170758361/job/36760571749
1 parent ab43ce9 commit 1e7e9df

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ source 'https://rubygems.org/'
22

33
gemspec
44

5+
# FIXME: This is a workaround to resolve the following error in Ruby 3.5:
6+
#
7+
# /home/runner/work/webmock/webmock/vendor/bundle/ruby/3.5.0+0/gems/ethon-0.16.0/lib/ethon.rb:2:
8+
# warning: logger was loaded from the standard library, but is not part of the default gems starting from Ruby 3.5.0.
9+
#
10+
# It can likely be removed once `ethon`, which is a dependency of `typhoeus`, manages its `logger` dependency.
11+
gem 'logger'
512
gem 'ostruct'
613
gem 'rake'
714

0 commit comments

Comments
 (0)