You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a bit of trouble getting the library to detect my MJML 4.0. binary. I installed MJML globally, using Yarn and I am using gem 'mjml-rails', '~> 4.0.0'
$ mjml -V
mjml-core: 4.1.0
mjml-cli: 4.1.0
$ which mjml
/usr/local/bin/mjml
$ rails c
Running via Spring preloader in process 24555
Loading development environment (Rails 5.1.3)
[1] pry(main)> Mjml.discover_mjml_bin
Couldn't find the MJML 4.0. binary.. have you run $ npm install mjml?
=> nil
Do I need to add some additional config?
Thanks,
Joe
The text was updated successfully, but these errors were encountered:
For future Googlers: you should ensure that the gem version matches the mjml version. In my case, I should have been using: gem 'mjml-rails', '~> 4.1.0'
Hi folks,
I'm having a bit of trouble getting the library to detect my MJML 4.0. binary. I installed MJML globally, using Yarn and I am using
gem 'mjml-rails', '~> 4.0.0'
Do I need to add some additional config?
Thanks,
Joe
The text was updated successfully, but these errors were encountered: