Archived from the Transloadit support forum. Originally posted on September 10, 2012; details may be outdated, see our docs for current behavior. Original thread
I am using the Gem for a RoR project. I need to configure my setup so that I can deploy easily and have different templates for qa/dev/prod. How can I setup the gem so that it used different templates in each environment? Same auth keys but different templates. Currently I have a single transloadit.yml file in my config directory. Ideallly I want to do away with this file and move those keys into the config/environments/production.rb and config/environments/development/rb files. How can I best achieve this so that the jquery gem reads from the env rather than the yml file?