Skip to content

Instantly share code, notes, and snippets.

@frankpinto
frankpinto / Rakefile
Last active August 29, 2015 14:22
Ruby s3 SDK example
task :fix_image_headers => :environment do
puts "---------------------------------------------"
puts "Uploading ad images to tools.ayalo.co"
puts "---------------------------------------------"
# Set s3 credentials
Dotenv.load
# Example of Client interface
s3 = Aws::S3::Client.new