Skip to content

Instantly share code, notes, and snippets.

@leemcalilly
Created June 7, 2013 21:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leemcalilly/924e8755f7c76ecbf5cf to your computer and use it in GitHub Desktop.
Save leemcalilly/924e8755f7c76ecbf5cf to your computer and use it in GitHub Desktop.
CarrierWave.configure do |config|
config.fog_credentials = {
:provider => 'AWS',
:aws_access_key_id => 'AKIAIQFSAJO6FUPYG3EQ',
:aws_secret_access_key => 'pJ07F6Oulc0gmlOQlwZkVSysi7I1sKnjiIqhNH6t',
}
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