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 !
commit  6b7bc91a42b058ef175e43f4aa1233bccca4caed
tree    6d52ae9e85b33eca4b2c13331adbe20dad938c81
parent  3836c313d60772ff2ae334083acd083dfdcadf68
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'))