It seems to me that if I understand correctly that your lib / tasks / task.thor is actually part of the gem itself, and you expect it to find your exact file buried in your gem.
If so, this will not work, as the author will not automatically search for gems in your catalogs.
You might want to consider not using torus files at all and just write a command that uses the command to process command line parameters, such as Rails.
If you really need to run the torus this way, then your gem should do the βmagicβ to put your torus files in the search path.
source share