attempting to tell excon about certs f cent-os

This commit is contained in:
Ilya Zhitomirskiy 2011-10-22 19:06:13 -07:00
parent 8b3c4f4cf2
commit d97d524a7b

View file

@ -2,6 +2,9 @@
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
#Excon needs to see the CA Cert Bundle file
ENV["SSL_CERT_FILE"] = AppConfig[:ca_file]
CarrierWave.configure do |config|
if AppConfig[:s3_key] && AppConfig[:s3_secret] && AppConfig[:s3_bucket] && AppConfig[:s3_region]
config.storage = :s3