Help with paperclip

Hi, I’ve been told that Paperclip needs ImageMagick, but I don’t know what ImageMagick or how I should install it to work with my paperclip. All the tutorials I’ve found just tell me to write gem ‘paperclip’ in my gem file and then bundle install. Will that also install the ImageMagick ?

Also, what you think is better, Paperclip or CarrierWave?

Thank you,

Rodrigo

Rodrigo Ruiz wrote in post #1010978:

Hi, I've been told that Paperclip needs ImageMagick, but I don't know
what ImageMagick or how I should install it to work with my paperclip.
All
the tutorials I've found just tell me to write gem 'paperclip' in my gem
file and then bundle install. Will that also install the ImageMagick ?

Also, what you think is better, Paperclip or CarrierWave?

What OS are you using? Since I'm on a Mac I use Homebrew to install
ImageMagick.

brew install imagemagick

If you on some other *nix platform they generally have their own package
managers to install stuff.

aptitude on Ubuntu, for example.

If you are on Windows, well then you're on you own. You can probably get
info from the ImageMagick site for help with the install.

http://www.imagemagick.org/script/index.php

Thank you, I managed it with homebrow like you said =)

Let me ask you one more thing, suppose I get a new mac, what is everything I need to install to develop with rails?

I mean, I have to install rails, ruby, … But someone told me it would be better to use, for example homebrew to manage all the gem installs and stuff like that, so that what ever I install stays organized, within the same place if I always use homebrew, and then it would be easy to see everything I have and maybe delete or what ever I want.

What would you recommend?

If you have the time what I actually want is something like a step by step instruction, for example:

$ rails install

$ ruby install

$ homebrew install

$ brew gem ‘paperclip’

Something like that.

Thank you,

Rodrigo

Here are two Railscasts about Paperclip and Carrierwave:

http://railscasts.com/episodes/253-carrierwave-file-uploads

http://railscasts.com/episodes/134-paperclip

According to Ryan, Carrierwave is better. If you prefer, watch these two screencasts and draw your own conclusions.

Regards,

Gustavo

I did watch, but I’m still a beginner so I’d like a second opinion of someone who understands rails better than I do