diff --git a/lib/paperclip/attachment.rb b/lib/paperclip/attachment.rb index 576d9d2..13ed78c 100644 --- a/lib/paperclip/attachment.rb +++ b/lib/paperclip/attachment.rb @@ -1,3 +1,5 @@ +require 'fastimage' + module Paperclip # The Attachment class manages the files for a given attachment. It saves # when the model saves, deletes when the model is destroyed, and processes diff --git a/paperclip.gemspec b/paperclip.gemspec index e2fdfb8..be76b92 100644 --- a/paperclip.gemspec +++ b/paperclip.gemspec @@ -16,4 +16,6 @@ Gem::Specification.new do |s| s.rubyforge_project = %q{paperclip} s.rubygems_version = %q{1.3.1} s.summary = %q{File attachments as attributes for ActiveRecord} + + s.add_dependency 'fastimage' end