Paperclip is an awesome plugin for Rails. There are already at least two great tutorials out there on the subject, but both neglect to mention installing the dependency ImageMagick. On a related note, how awesome has MacPorts become lately?
If you have MacPorts installed...
sudo port install imagemagick
sudo apt-get install imagemagick
You can test everything installed okay with the
which identify command. If it returns a location, you're good to go with these excellent tutorials:
- Jim Neath's Paperclip: Attaching Files in Rails
- Burm.net's The Ruby on Rails Paperclip Plugin Tutorial - Easy Image Attachments