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

lib/tasks/ not installed #1375

Open
svoop opened this issue Mar 5, 2024 · 0 comments
Open

lib/tasks/ not installed #1375

svoop opened this issue Mar 5, 2024 · 0 comments

Comments

@svoop
Copy link

svoop commented Mar 5, 2024

This is no biggie, maybe just an inconsistency due to a bit planned for a later release:

New Hanami apps bootstrap a lib/tasks/ directory. Burnt by Rails, I assumed, any *.rake files in there would be loaded when the hanami/rake_tasks are required – but they are not.

For now, adding Dir['lib/tasks/*.rake'].each { load _1 } to the Rakefile works around this.

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

No branches or pull requests

1 participant