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
I'm trying to create a traceroute gem like for Hanami.
I am facing an issue. It sounds that currently it's not possible to load rake task in a Hanami app from a gem. When I run rake -T I have just default tasks and also custom ones added in rakelib..but impossible to load task from gem.
It does the job and I'm able to load my task but test fails....anyway.
What could be the good way to fix that ? Any advice or idea ?
If you want to reproduce the issue you can fork hanami-traceroute, add it to your gemfile locally and run rake -T. The expected behaviour will be to have the following tasks printed:
rakeenvironment# Load the full projectrakehanami_traceroute# Prints out unused routes and unreachable action methodsrakehanami_traceroute:unreachable_action_methods# Prints out unreachable action methodsrakehanami_traceroute:unused_routes# Prints out unused routesrakespec# Run RSpec code examples
Let me know if I am not clear.
Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi there,
First of all thx for the amazing work !
I'm trying to create a
traceroute
gem like forHanami
.I am facing an issue. It sounds that currently it's not possible to load
rake task
in a Hanami app from a gem. When I runrake -T
I have just defaulttasks
and also custom ones added inrakelib
..but impossible to loadtask
from gem.I tried many things to fix it, like:
It does the job and I'm able to load my task but test fails....anyway.
What could be the good way to fix that ? Any advice or idea ?
If you want to reproduce the issue you can fork hanami-traceroute, add it to your gemfile locally and run
rake -T
. The expected behaviour will be to have the following tasks printed:Let me know if I am not clear.
Thanks a lot.
The text was updated successfully, but these errors were encountered: