rubycdp / ferrum

Headless Chrome Ruby API
https://ferrum.rubycdp.com
MIT License
1.68k stars 119 forks source link

warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. #441

Open unblee opened 5 months ago

unblee commented 5 months ago

When running ferrum 0.14 with Ruby 3.3.0, the following warning was output.

/vendor/bundle/ruby/3.3.0/gems/ferrum-0.14/lib/ferrum/browser.rb:3: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of ferrum-0.14 to add base64 into its gemspec.

If you want to support Ruby 3.4.0 or later, maybe you need to add the base64 gem as dependencies?