public
Description: Treat an ActiveRecord model as a file attachment, storing its patch, size, content type, etc.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/technoweenie/attachment_fu.git
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
technoweenie (author)
Sat Mar 15 15:16:43 -0700 2008
commit  ee40198a75b1c9be963f61d46fea6601464b3019
tree    9e68c3251da8591619d7388c7aacd13ce63b8d8e
parent  ceff63276ef8faad7b49d36b1d441c5105687013 parent  86aecc750d614e3836f868910cbcae388c9fd9d9
attachment_fu / install.rb
100644 5 lines (4 sloc) 0.248 kb
1
2
3
4
5
require 'fileutils'
 
s3_config = File.dirname(__FILE__) + '/../../../config/amazon_s3.yml'
FileUtils.cp File.dirname(__FILE__) + '/amazon_s3.yml.tpl', s3_config unless File.exist?(s3_config)
puts IO.read(File.join(File.dirname(__FILE__), 'README'))