Rails 3 automatic asset deployment to Amazon CloudFront?
问题 Is there a gem or method available in Rails 3.1 that can upload assets to amazon cloud front automatically and use those instead of serving locally hosted ones? I guess it's easy to upload compiled assets manually and then change the rails app config to use that asset host, but when an asset is modified, the uploads to cloud front would need to be done manually again. Any good ways out there for this? 回答1: Definitely check out asset_sync on github. Or our Heroku dev centre article on Using a