ImageMagick And Amazon Cloud 9

34 views
Skip to first unread message

David Merrick

unread,
Jan 16, 2019, 12:35:05 AM1/16/19
to Ruby on Rails: Talk
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

Phil Edelbrock

unread,
Jan 16, 2019, 1:27:26 AM1/16/19
to rubyonra...@googlegroups.com
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

David Merrick

unread,
Jan 16, 2019, 1:54:24 AM1/16/19
to Ruby on Rails: Talk
The users trys to upload the image but can't because ImageMagick isn't installed

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4A76380A-63F7-413A-B8F6-FADBBA3EE9BF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email merri...@gmail.com

Ph   03 216 2053

Cell 027 3089 169

Phil Edelbrock

unread,
Jan 16, 2019, 2:08:28 AM1/16/19
to rubyonra...@googlegroups.com


On Jan 15, 2019, at 10:53 PM, David Merrick <merri...@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 <ede...@gmail.com> wrote:


> On Jan 15, 2019, at 9:35 PM, David Merrick <merri...@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

David Merrick

unread,
Jan 16, 2019, 7:18:49 PM1/16/19
to Ruby on Rails: Talk
Hi I have a web app test running on Amazon Cloud 9. The users using the website have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem.

I there something else I can use that is the AWS Libraries?

Any suggestions.

Cheers Dave

Hassan Schroeder

unread,
Jan 16, 2019, 7:34:41 PM1/16/19
to rubyonrails-talk
On Wed, Jan 16, 2019 at 4:19 PM David Merrick <merri...@gmail.com> wrote:
>
> Hi I have a web app test running on Amazon Cloud 9. The users using the website have the ability to up load images. They currently can't do it. as I can't install ImageMagic let along the gem.

Repeating the same information-free nonsense over and over won't
improve your chances of getting help.

Why do you think "ImageMagick" and "file uploading" have anything
to do with each other? Show the upload handling code, your Gemfile,
an actual error message, something.

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

David Merrick

unread,
Jan 16, 2019, 10:17:19 PM1/16/19
to Ruby on Rails: Talk
Problem solved

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

David Merrick

unread,
Jan 16, 2019, 10:23:52 PM1/16/19
to Ruby on Rails: Talk
Problem solved. Used sudo yum install ImageMagick. Does Amazon Web Servicers have any Ruby Libraries available to use?

On Thu, Jan 17, 2019 at 1:34 PM Hassan Schroeder <hassan.s...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yD2-rGHSKYuHMuLUu7rqPSvcPKpVRCXfTnR_pCC35pL_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Phil Edelbrock

unread,
Jan 16, 2019, 10:33:42 PM1/16/19
to rubyonra...@googlegroups.com


> On Jan 16, 2019, at 7:23 PM, David Merrick <merri...@gmail.com> wrote:
>
> Problem solved. Used sudo yum install ImageMagick. Does Amazon Web Servicers have any Ruby Libraries available to use?
>


You may need to also do 'sudo yum install ImageMagick-devel', depending on what you are doing. (can't hurt anyway)

Good luck!


Phil

David Merrick

unread,
Jan 16, 2019, 11:16:04 PM1/16/19
to Ruby on Rails: Talk
Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages