Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working locally but not in Heroku #10

Closed
mavericreal opened this issue Oct 24, 2016 · 1 comment
Closed

Working locally but not in Heroku #10

mavericreal opened this issue Oct 24, 2016 · 1 comment

Comments

@mavericreal
Copy link

mavericreal commented Oct 24, 2016

Hi,

We've followed the instructions by:

  • adding the gem:
    gem 'mjml-rails'
  • installing it
    bundle install

and creating the buildpacks. This is the output of heroku buildpacks:

1. heroku/nodejs
2. heroku/ruby

It works great locally, but when trying to run it in heroku, it does not raise any error, it simply sends the email in mjml markup, without being interpreted.

Any leads about why the mjml markup is not translated into html in heroku?

Thanks!

@sighmon
Copy link
Owner

sighmon commented Oct 24, 2016

@raulsann I've just updated the gem to use MJML v3, is there a chance your package.json file hasn't been updated?

...
"dependencies": {
    "mjml": "^3.0"
  },
...

@sighmon sighmon closed this as completed Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants