#!/usr/bin/env ruby require 'erb' template = File.read 'erb/backend-flask.env.erb' content = ERB.new(template).result(binding) filename = "backend-flask.env" File.write(filename, content)