Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): rake secret was deprecated, do rails secret #268

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

conduct0
Copy link
Contributor

Summary

Minor fix of the README. When running recommended command to create a secret I ran into an error.

❯ bundle exec rake secret           
rake aborted!
Don't know how to build task 'secret' (See the list of available tasks with `rake --tasks`)
/home/thaymonkey/.rbenv/versions/3.1.2/bin/bundle:25:in `load'
/home/thaymonkey/.rbenv/versions/3.1.2/bin/bundle:25:in `<main>'
(See full trace by running task with --trace)

Seems like in the last rails versions secret was moved from rake to rails. See this post in Stack Overflow for more info https://stackoverflow.com/questions/77855137/dont-know-how-to-build-task-secret

Checklist

The following are mandatory for all PRs:

  • I have written a thorough PR description.
  • I have kept my commits small and atomic.
  • I have used clear, explanatory commit messages.

The following are not always needed (cross them out if they are not):

  • I have added automated tests to cover my changes.
  • I have attached screenshots to demo visual changes.
  • I have opened a PR to update the guides.
  • I have updated the README to account for my changes.

Seems like in the last rails versions 'secret' was moved to rails. See this post in StackOverflow for more info https://stackoverflow.com/questions/77855137/dont-know-how-to-build-task-secret
@waiting-for-dev
Copy link
Owner

Thanks!

@waiting-for-dev waiting-for-dev merged commit 66ed13f into waiting-for-dev:main Apr 8, 2024
5 of 6 checks passed
@conduct0 conduct0 deleted the patch-1 branch April 10, 2024 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants