Skip to content

Initializer fails with ArgumentError: Missing secret_key_base for 'test_data' environment, set this string with bin/rails credentials:edit #2

@mdoel

Description

@mdoel

It seems that the test_data:install task wants to initialize the new test_data environment. If you are in a repo that has a config/credentials.yml.enc but you are unable to edit that with rails credentials:edit (i.e. because you don't have a config/master.key or haven't set RAILS_MASTER_KEY, the environment creation throws an exception.

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