Is it possible to interpolating variables in YAML files?

I’m attempting to store a value that’s dependent on an environment
variable in a custom .yml file, like so:

job_folder: “#{RAILS_ROOT}/jobs”

Doesn’t seem to like that. Is there any way for me to have access to
the RAILS_ROOT environment variable from inside of my configuration


Did you try:

job_folder: <%= ENV[‘RAILS_ROOT’] %>/jobs