这是indexloc提供的服务,不要输入任何密码
Skip to content

missing newline in newly deployed rails app /app/.env #1025

@gcohen55

Description

@gcohen55

After a new rails app deployment via git, the generated /app/.env file is missing a newline and ends up looking like this:

docker exec -t -i 3299 cat /app/.env
export CURL_CONNECT_TIMEOUT=5
export CURL_TIMEOUT=30 export DATABASE_URL='postgres://root:asdfasdf@172.17.42.1:49155/db'
export REDIS_IP=172.17.0.18
export REDIS_PORT=6379
export REDIS_URL=redis://172.17.0.18:6379

I've tried adding an extra newline to ~dokku/ENV and that didn't help, /BUT/ throwing a leading newline in ~dokku//ENV, is a workaround.

@josegonzalez asked me to open this issue on #dokku

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions