Skip to content

Bundler under Ruby 3.4 no longer treats base64 as a default gem #35

Closed
@postmodern

Description

@postmodern

Seeing some spec failures due to Bundler not allowing async-dns to require base64.

LoadError:
  cannot load such file -- base64
# ./vendor/bundle/ruby/3.4.0/gems/async-dns-1.3.0/lib/async/dns/message.rb:24:in '<top (required)>'
# ./vendor/bundle/ruby/3.4.0/gems/async-dns-1.3.0/lib/async/dns.rb:27:in 'Kernel#require_relative'
# ./vendor/bundle/ruby/3.4.0/gems/async-dns-1.3.0/lib/async/dns.rb:27:in '<top (required)>'
# ./lib/ronin/dns/proxy/server.rb:24:in '<top (required)>'

https://github.com/ronin-rb/ronin-dns-proxy/actions/runs/13103082741/job/36553753530

This is apparently due to some recent changes to downgrade the base64 library from a default stdlib library and to a bundled gem. I believe you will need to add base64 to the gemspec, so other gems that depend on async-dns do not have to do the same.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions