Skip to content
marcopaga edited this page Sep 12, 2010 · 15 revisions

Gem installation

This is the recommended approach for using Paperclip. In your config/environment.rb, add:

config.gem 'paperclip', :source => 'http://gemcutter.org'

Then run:

rake gems:install
rake gems:unpack

Plugin installation

You can use paperclip as a plugin as well like so:

script/plugin install git://github.com/thoughtbot/paperclip

Dependencies

Only ImageMagick, which you can install quite easily install via apt, yum, or port, or the package manager of your choice. (If you are on a Mac, this shell script will make installing ImageMagick very easy, or you can try HomeBrew with brew install imagemagick.

If you plan on using any post-processing with ImageMagick, it requires ghostscript for pdf files. It is not always installed as a dependancy with ImageMagick through package management, so depending on your environment, you might need to install it separately.