From 7359019fafaa9f0a8612e308c6c3d6c97c550414 Mon Sep 17 00:00:00 2001 From: Max Melentiev Date: Tue, 13 Nov 2018 11:59:09 +0300 Subject: [PATCH] Add missing fastimage dependency --- lib/paperclip/attachment.rb | 2 ++ paperclip.gemspec | 2 ++ 2 files changed, 4 insertions(+) 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