2010-04-13 21:10:40 +02:00
|
|
|
CarrierWave.configure do |config|
|
2011-04-12 07:01:39 +02:00
|
|
|
config.s3_access_key_id = ENV['S3_KEY']
|
|
|
|
config.s3_secret_access_key = ENV['S3_SECRET']
|
|
|
|
config.s3_bucket = ENV['S3_BUCKET']
|
|
|
|
#config.fog_credentials = {
|
|
|
|
# :provider => 'AWS',
|
|
|
|
# :aws_access_key_id => ENV['S3_KEY'],
|
|
|
|
# :aws_secret_access_key => ENV['S3_SECRET'],
|
|
|
|
# :region => 'us-east-1'
|
|
|
|
#}
|
|
|
|
#config.fog_directory = ENV['S3_BUCKET']
|
2011-04-12 06:35:42 +02:00
|
|
|
end
|