You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thehanami/rake_tasks
are required – but they are not.For now, adding
Dir['lib/tasks/*.rake'].each { load _1 }
to the Rakefile works around this.The text was updated successfully, but these errors were encountered: