I am deploying the application in heroku and the application is on rails 3.2 and I have active admin gem installed.
When I run rake db: migration failed due to the following error
== DeviseCreateAdminUsers: migrating ========================================= -- create_table(:admin_users) -> 0.0823s Sent mail to admin@example.com (3228ms) rake aborted! An error has occurred, this and all later migrations canceled: Connection refused - connect(2)
I wonder what I need to do to fix this. It seems that in Devise gem or ActiveAdmin you need to send mail during the migration process and because it cannot, if it fails.
source share