Skip to content

Instantly share code, notes, and snippets.

@tansengming
Created June 18, 2012 01:20
Show Gist options
  • Select an option

  • Save tansengming/2946291 to your computer and use it in GitHub Desktop.

Select an option

Save tansengming/2946291 to your computer and use it in GitHub Desktop.
Carrierwave S3 settings
CarrierWave.configure do |config|
config.storage = :s3
config.s3_access_key_id = "s3_access_key_id"
config.s3_secret_access_key = "s3_secret_access_key"
config.s3_bucket = "s3_bucket"
# config.s3_access_policy = :authenticated_read
config.s3_cnamed = true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment