Reputation: 476
Trying to use asset_sync in a RefineryCMS site on Heroku following this article. Worked out all the problems with rendering from the app/assets directory. Now I'm having issues with images and files uploaded to the site with dragonfly and stored in a separate S3 bucket previously.
Links should look like:
This goes to the bucket I'd set up for uploaded files in config/initializers/images:
config.s3_backend = Refinery::Core.s3_backend
config.s3_bucket_name = ENV['S3_BUCKET']
config.s3_access_key_id = ENV['S3_KEY']
config.s3_secret_access_key = ENV['S3_SECRET']
This is a SEPARATE bucket from the one used for assets. The link I get instead is:
Do I have to transfer all my existing assets into the new bucket (in a "system" directory, I'd guess? Or is there a config var that I can set to say, "go here for dragonfly files"
EDIT: Just found this commit that may address this issue, but I'm not sure. Perhaps someone can clarify how to configure.
Upvotes: 1
Views: 235