Carrierwave on heroku with or without RMagick

812 views
Skip to first unread message

stephen murdoch

unread,
Jun 30, 2010, 11:46:06 AM6/30/10
to carrierwave
I'm using heroku for my hosting, wiht S3 and I think I've read enough
to know how to get it all working ok.

My concern, before I begin, is the requirement for an image processing
library like RMagick or MiniMagick

I know that mini_magick does not work too well with the version of
ImageMagick that heroku have on their servers so I'm wondering if
anyone can tell me whether there's an alternative to using RMagick.

Is RMagick not supposed to be the devil? That's what everyone has
been saying for years. I would use ImageScience but Heroku don't
support FreeImage.

So, am I wrong to still be worried about RMagick and it's reputation?
Is there an alternative to it? I just don't like the idead of
installing a massive gem that's going to eat up all my memory when all
I need to do is process thumbnails and since I'm heroku, I kind of
need an alternative to image_science and mini_magick

Jonas Nicklas

unread,
Jun 30, 2010, 5:45:48 PM6/30/10
to carri...@googlegroups.com
Personally, I haven't had problems with RMagick in years. It used to
be a memory hogging monster, but these days, I don't think there's
much difference in performance between MiniMagick and RMagick. I've
used RMagick successfully on Heroku, seems to work rather nicely, plus
RMagick has by far the best and most powerful API out there.

/Jonas

> --
> You received this message because you are subscribed to the Google Groups "carrierwave" group.
> To post to this group, send email to carri...@googlegroups.com.
> To unsubscribe from this group, send email to carrierwave...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/carrierwave?hl=en.
>
>

Samuel Lown

unread,
Jun 30, 2010, 6:43:57 PM6/30/10
to carri...@googlegroups.com
For me it was always the hastle of having to try and install the damn gem, were as mini_magick uses "convert", a quick apt-get install away. However, Heroku is a different beast, if it supports RMagick easily then I would stick with that, memory issues (if indeed there are any) should not be something you need to worry about with them.

Cheers,
sam

Jonas Nicklas

unread,
Jun 30, 2010, 6:50:25 PM6/30/10
to carri...@googlegroups.com
I always found that install ImageMagick was the hard part, once that's
done, installing rmagick is (usually?) just a gem install away.

/Jonas

stephen murdoch

unread,
Jun 30, 2010, 8:25:01 PM6/30/10
to carrierwave
Hi thanks everyone, it's reassuring to know that others are using
rmagick on heroku without any problems

Many thanks

On Jun 30, 11:50 pm, Jonas Nicklas <jonas.nick...@gmail.com> wrote:
> I always found that install ImageMagick was the hard part, once that's
> done, installing rmagick is (usually?) just a gem install away.
>
> /Jonas
>
> On Thu, Jul 1, 2010 at 12:43 AM, Samuel Lown <sam.l...@gmail.com> wrote:
> > For me it was always the hastle of having to try and install the damn gem,
> > were as mini_magick uses "convert", a quick apt-get install away. However,
> > Heroku is a different beast, if it supports RMagick easily then I would
> > stick with that, memory issues (if indeed there are any) should not be
> > something you need to worry about with them.
> > Cheers,
> > sam
>

Jonty

unread,
Jul 1, 2010, 10:47:24 AM7/1/10
to carrierwave
Just got my app working on heroku - generates thumbnails with ease -
took me a while to sort out though - remember to override the
cache_dir method in your uploader and point it to ENV['app_root'] + "/
tmp". Carrierwave caches the files in public/uploads by default where
heroku wont let you store files. Good luck!

Jonty

On Jul 1, 1:25 am, stephen murdoch <stephenjamesmurd...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages