Skip to content

Commit

Permalink
Fix a build error for Ruby 3.5 CI matrix
Browse files Browse the repository at this point in the history
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
  • Loading branch information
koic committed Feb 6, 2025
1 parent ab43ce9 commit 1e7e9df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ source 'https://rubygems.org/'

gemspec

# FIXME: This is a workaround to resolve the following error in Ruby 3.5:
#
# /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.
gem 'logger'
gem 'ostruct'
gem 'rake'

Expand Down

0 comments on commit 1e7e9df

Please sign in to comment.