ruby - Cannot load 'paperclip/storage/ftp' when using paperclipftp in Rails 3 -


i've installed paperclip 2.3.3 , paperclipftp 0.1.0.

paperclip working fine, attachments saving , great.

enter paperclipftp.

i've included both gems in gemfile, installed bundle , made sure dependencies satisfied. i've double checked ftp info correct , server working fine.

when try attach file using ftp:

has_attached_file :photo,      :styles => {          :small => "204x159#",          :original => "460x370#"     },     :storage => :ftp,     :path => "/:attachment/:attachment/:id/:style/:filename",     :url => "http://kickassserver.com/_myfolder/:attachment/:attachment/:id/:style/:filename" 

i following error:

paperclip::storagemethodnotfound in setupscontroller#create  cannot load 'paperclip/storage/ftp' 

i'm thinking paperclipftp isn't being loaded app. there way can check see it's being loaded, or has else experienced this?

thanks,

matt

i have ruby 1.9.2p180 , problem timeout class being loaded.

only add,

require 'timeout' 

to application.rb , fix error.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -