require 'carrierwave'

CarrierWave.root = Rails.root.join(Rails.public_path).to_s
CarrierWave.base_path = ENV['RAILS_RELATIVE_URL_ROOT']

CarrierWave.configure do |config|
    config.storage = Rails.application.config.storage_type
    JamRuby::UploaderConfiguration.set_aws_private_configuration(config)
end


require 'carrierwave/orm/activerecord'
