You can clone with
I dropped my S3DirectUpload.config in an initializer, however this doesn't load when running
saying that Missing required arguments: aws_access_key_id, aws_secret_access_key
Seems the rake task needs :environment.
task :clean_remote_uploads => :environment do
I forked and made the change locally without success, any thoughts? I think my local version of the gem may not have been loading, as that should be the fix (I think).
S3DirectUpload works inside the app, so I know it's getting the ID and secret fine when loaded with the initializer.
PS, S3DirectUpload is wonderful, many many thanks for wrapping Ryan's stuff.
Your correct it does need :environment passed to it. I have done this and updated the git repo, it'll be released in the gem soon.