Skip to content

"Configuring your env" page: rake secret is no longer correct, needs to be bundle exec rails secret #1744

@umangv

Description

@umangv

It looks like the docs need a change similar to this PR from the source code repo.

Under the "secrets" section of the admin/config page, the docs for SECRET_KEY_BASE say:

Generate with rake secret. Changing it will break all active browser sessions.

According to mastodon/mastodon#30917, the command should probably be bundle exec rails secret.

@ciencia also called this out in a separate issue two years ago and I encountered the same problem today. Using bundle exec rails secret worked me.

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