Abbiamo a gem che viene eseguito tramite un'attività Rake. L'attività è definita in lib/tasks/<namespace>.rake
. Dopo aver letto Rake tasks inside gem not being found ho confermato che lo .gemspec
include il file che definisce l'attività; c'è anche a railtie which should be including the tasks come suggerito in including rake tasks in gems. Eppure la nostra applicazione Rails 4.1 non sembra caricare il task Rake.Perché questa gemma non aggiunge attività di rake a un'app Rails?
Cosa mi manca?
Mi hai portato alla risposta! – pjmorse