
CarrierWave.configure do |config|
  config.fog_credentials = {
    :provider           => 'Rackspace',
    :rackspace_username => ENV['RACKSPACE_USERNAME'],
    :rackspace_api_key  => ENV['RACKSPACE_API_KEY'],
    :rackspace_auth_url => ENV['RACKSPACE_API_ENDPOINT']
  }
  config.fog_directory = ENV['RACKSPACE_CONTAINER']
  config.asset_host = ENV['RACKSPACE_ASSET_HOST']
end

CarrierWave.configure do |config|
  config.fog_credentials = {
    :provider           => 'Rackspace',
    :rackspace_username => ENV['RACKSPACE_USERNAME'],
    :rackspace_api_key  => ENV['RACKSPACE_API_KEY'],
    :rackspace_auth_url => ENV['RACKSPACE_API_ENDPOINT']
  }
  config.fog_directory = ENV['RACKSPACE_DIRECTORY_CONTAINER']
  config.asset_host = ENV['RACKSPACE_DIRECTORY_ASSET_HOST']
end
Make Container and Asset Hosts ENV variables explicit
Make Container and Asset Hosts ENV variables explicit
