-
-
Save leemcalilly/924e8755f7c76ecbf5cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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