public
Fork of technoweenie/attachment_fu
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/nicksieger/attachment_fu.git
commit  ee8474831d3181596220f2b970a707730b851950
tree    b1157b674c4bbfbe2fc03f6108e11030b7b5a77c
parent  b0da755535a196c8a12e4f0c58cfc5cafda4f6e2
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'))