S3 和 Cloudfront - 设置不起作用

I believe you can get an overview of what environment variables you need here:
Configure an S3 compatible object storage provider for uploads

EDIT: In the context of a rake command, see the answer below :point_down: