secret
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CarrierWave.configure do |config|
config.fog_credentials = {
:provider => 'AWS',
:aws_access_key_id => 'AKIAIQFSAJO6FUPYG3EQ',
:aws_secret_access_key => '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',
}
if Rails.env.development?
config.fog_directory = 'wingard-development'
elsif Rails.env.development?
config.fog_directory = 'wingard-development'
elsif Rails.env.production?
config.fog_directory = 'wingard-production'
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.