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
Search Repo:
Click here to lend your support to: attachment_fu and make a donation at www.pledgie.com !
technoweenie (author)
Sat Dec 23 12:04:45 -0800 2006
commit  bd18f3711b63d3ca1e86020dd4827052572d56bb
tree    eebdbee1a7bff21b3adf11aa416d9ea954f4e7a9
parent  d89bfe439f34f3e12fc2b6840d69e1f95be2645f
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'))