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