CarrierWave.configure do |config| config.fog_credentials = { provider: 'Google', google_storage_access_key_id: ENV["GOOGLE_STORAGE_ACCESS_KEY"], google_storage_secret_access_key: ENV["GOOGLE_STORAGE_SECRETE_KEY"] } config.fog_directory = ENV["GOOGLE_STORAGE_BUCKET_NAME"] end