{"action":"closed","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1025","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1025/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1025/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1025/events","html_url":"https://github.com/progrium/dokku/issues/1025","id":60299336,"number":1025,"title":"missing newline in newly deployed rails app /app/.env","user":{"login":"gcohen55","id":3932936,"avatar_url":"https://avatars.githubusercontent.com/u/3932936?v=3","gravatar_id":"","url":"https://api.github.com/users/gcohen55","html_url":"https://github.com/gcohen55","followers_url":"https://api.github.com/users/gcohen55/followers","following_url":"https://api.github.com/users/gcohen55/following{/other_user}","gists_url":"https://api.github.com/users/gcohen55/gists{/gist_id}","starred_url":"https://api.github.com/users/gcohen55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcohen55/subscriptions","organizations_url":"https://api.github.com/users/gcohen55/orgs","repos_url":"https://api.github.com/users/gcohen55/repos","events_url":"https://api.github.com/users/gcohen55/events{/privacy}","received_events_url":"https://api.github.com/users/gcohen55/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-09T05:11:56Z","updated_at":"2015-03-11T08:24:01Z","closed_at":"2015-03-11T08:24:01Z","body":"After a new rails app deployment via git, the generated /app/.env file is missing a newline and ends up looking like this:\r\n\r\n````\r\ndocker exec -t -i 3299 cat /app/.env\r\nexport CURL_CONNECT_TIMEOUT=5\r\nexport CURL_TIMEOUT=30 export DATABASE_URL='postgres://root:asdfasdf@172.17.42.1:49155/db'\r\nexport REDIS_IP=172.17.0.18\r\nexport REDIS_PORT=6379\r\nexport REDIS_URL=redis://172.17.0.18:6379\r\n````\r\nI've tried adding an extra newline to ~dokku/ENV and that didn't help, /BUT/ throwing a leading newline in ~dokku/<APP>/ENV, is a workaround.\r\n\r\n@josegonzalez asked me to open this issue on #dokku\r\n\r\n"}}