File.write(Rails.root.join('.env.production'),"# Generated with mastodon:setup on #{Time.now.utc}\n\n"+env.each_pair.map{|key,value|"#{key}=#{value}"}.join("\n")+"\n")
ifusing_docker
prompt.ok'Below is your configuration, save it to an .env.production file outside Docker:'