Create a gist now

Instantly share code, notes, and snippets.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment