eurucamp/eurucamp-activities

Cannot deploy on Heroku

Closed this issue · 3 comments

There are two issues:

  • eventmachine does not build, this can be fixed by updating the Gemfile.lock. PR #174.
  • /usr/sbin/sendmail does not exist on Heroku anymore, and this causes the application to fail completely.
skade commented

Don't ever edit Gemfile.lock manually. :)

Update Gemfile and reresolve.

On 25 Aug 2016, at 17:00, Andrew Hobden notifications@github.com wrote:

There are two issues:

• eventmachine does not build, this can be fixed by manually editing the Gemfile.lock with eventmachine (1.2.0.1) instead of what is there.
• /usr/sbin/sendmail does not exist on Heroku anymore, and this causes the application to fail completely.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Fixing the mailer issue was accomplished with:

  config.action_mailer.smtp_settings = {
    address: "#{ENV['MAILGUN_SMTP_SERVER']}",
    port: "#{ENV['MAILGUN_SMTP_PORT']}",
    user_name: "#{ENV['MAILGUN_SMTP_LOGIN']}",
    password: "#{ENV['MAILGUN_SMTP_PASSWORD']}"
  }

:)