Skip to content

rake initialize is not idempotent #21

@IdahoEv

Description

@IdahoEv

Rake initialize works great for a freshly generated app, but it will fail (with an assortment of errors) in a number of other circumstances. For example:

• Someone else generated the app, pushed it to a repo, and you just pulled it. (so e.g. secrets.yml.example exists but secrets.yml does not)

• You are starting up a new clone of a project you've worked on before, so a database by that name already exists.

Maybe not a critical issue (particularly the second one), but worth noting.

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