This tool enables you to manage your CloudFront distributions via Ruby or command line. It is driven by functions you need to host complete static websites on CloudFront. At the moment you can set the root object of a distribution and invalidate objects to trigger a re-deployment of certain files.
Gemfile gem 'aws-cloudfront', '~> 0.0.1'
install gem install aws-cloudfront -v 0.0.1