sighmon / mjml-rails

MJML + ERb/Haml/Slim view template
https://mjml.io
Other
301 stars 65 forks source link

Only raise when really using mjml if binary is not found #18

Closed doits closed 7 years ago

doits commented 7 years ago

This allows to run a rake yarn:install in Rails 5.1 to actually install mjml. Since rake tasks run through Rails now, it errors out otherwise and prevents a successful deploy.

rake yarn:install is run before assets:precompile automatically in Rails 5.1.

sighmon commented 7 years ago

Awesome. Thanks @doits 👍