jacquescrocker / jammit-s3

Extensions so you can use jammit with s3/cloudfront for your Rails app
http://documentcloud.github.com/jammit/
MIT License
124 stars 31 forks source link

Environment specific configuration #18

Open guiocavalcanti opened 13 years ago

guiocavalcanti commented 13 years ago

As in https://github.com/documentcloud/jammit/commit/135103b380c1df5fe39ad9f7605e5b4022dca5dc, jammit now supports environment specifc configurations. I was wondering if I could use such feature in jammit-s3 (to define different buckets per environment).

robcole commented 13 years ago

Would love to see this as well - having issues right now with staging vs. development vs. production environments.

guiocavalcanti commented 13 years ago

@robcole, a possible workaround is run the jammit-s3 command passing the --config PATH option. My deployment recipe is aware which environment is being deployed , so I can specify which asset.yml file to use. For exaple jammit-s3 --config config/asset-production.yml