summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2017-05-01 20:15:16 +0000
committerDouwe Maan <douwe@gitlab.com>2017-05-01 20:15:16 +0000
commitd261f83626b9abde93f91d9850ae3e989348e12d (patch)
tree269301ab963afab0056c68300d2c7bbd64b114a2 /config
parent3d318f3c92d2e6ff8d03c94015bacf44c2542fdd (diff)
downloadgitlab-ce-d261f83626b9abde93f91d9850ae3e989348e12d.tar.gz
Update Carrierwave and fog-core
Diffstat (limited to 'config')
-rw-r--r--config/initializers/carrierwave.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb
index 1933afcbfb1..cd7df44351a 100644
--- a/config/initializers/carrierwave.rb
+++ b/config/initializers/carrierwave.rb
@@ -6,6 +6,8 @@ if File.exist?(aws_file)
AWS_CONFIG = YAML.load(File.read(aws_file))[Rails.env]
CarrierWave.configure do |config|
+ config.fog_provider = 'fog/aws'
+
config.fog_credentials = {
provider: 'AWS', # required
aws_access_key_id: AWS_CONFIG['access_key_id'], # required