Sha256: f6905dc2be05da2f447842b31ccf78cd640c7bc4ae39c6bcd6b69b901ddf6ee9

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

# 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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
actionmailbox-6.1.5.1 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.5.1 lib/action_mailer/mail_with_error_handling.rb
actionmailbox-6.1.5 lib/action_mailbox/mail_with_error_handling.rb
actionmailer-6.1.5 lib/action_mailer/mail_with_error_handling.rb