I would like to pass MiniMagick (ImageMagick) Path through cron on EC2 of AWS.

Asked 2 years ago, Updated 2 years ago, 489 views

I want to pass MiniMagick (ImageMagick) Path on cron on EC2 of AWS

I am using mini_magic in the script that I want to run on cron.
If this is the reason, the following failed logs will be thrown out.

I understand that I need to pass through PATH with cron, but I don't know how to pass through it.
Also, should I set the mini_magic installation destination?
(mini_magic is already installed in gem.)
I don't know enough about how to find out where to install it.
Could you please let me know?Thank you for your cooperation.

Validation failed: Imagetranslation missing: ja.errors.messages.mini_magic_processing_error

ruby-on-rails aws amazon-ec2 cron imagemagick

2022-09-30 21:57

1 Answers

I was able to solve this problem by adding PATH for ImageMagic by referring to this.
Thank you.
https://qiita.com/piggydev/items/b13c0f0cf0ba67761f08
https://qiita.com/positrium/items/a2de9af6c5b4d06b504e


2022-09-30 21:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.