[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)
Adrian Bunk
bunk at debian.org
Sun Nov 6 18:31:39 GMT 2022
On Fri, Oct 07, 2022 at 02:16:35PM -0300, Antonio Terceiro wrote:
>...
> But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
> this is a bit weird.
>...
$ cat /usr/share/rubygems-integration/all/gems/actionmailer-6.1.7/lib/action_mailer/mail_with_error_handling.rb
# frozen_string_literal: true
begin
require "mail"
rescue LoadError => error
if error.message.match?(/net\/smtp/)
$stderr.puts "You don't have net-smtp installed in your application. Please add it to your Gemfile and run bundle install"
raise
end
end
$
There is also something that might be related in
https://sources.debian.org/src/rails/2%3A6.1.7%2Bdfsg-2/Gemfile/#L140
Is there a bug in rails?
cu
Adrian
More information about the Pkg-ruby-extras-maintainers
mailing list