Ruby on Rails Tuesday, January 15, 2019



On Jan 15, 2019, at 10:53 PM, David Merrick <merrickdav@gmail.com> wrote:

The users trys to upload the image but can't because ImageMagick isn't installed

On Wed, Jan 16, 2019 at 7:27 PM Phil Edelbrock <edelbrp@gmail.com> wrote:


> On Jan 15, 2019, at 9:35 PM, David Merrick <merrickdav@gmail.com> wrote:
>
> Hi I have a web app test running on Amazon Cloud 9. The users have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem.
>
> Any suggestions.
>
> Cheers Dave
>


Saving the file shouldn't need IM.  rmagick can be tricky, but efficient when installed if you are doing image processing.  mini_magick is pretty cool and simple if IM tools are installed on the server and you need to resize/etc. (you can't install the rpm/apt/etc?)

Also see:

https://community.c9.io/t/install-imagemagick/3608

Good luck!


Phil


I got that part. (btw- it helps to not top-post for clarity, but that's OK for now.)

Install IM if it is a dependency or avoid using it... I don't really know what else to say?  Uploading files doesn't require IM unless you are using some gem or something that needs it to try to make life easier (which.. hint:  sometimes makes life more difficult).

Take care, David.


Phil

No comments:

Post a Comment