I am writing a gem. I would like the calls to the gem's api to trigger calls to some Sidekiq workers. Where do I write these workers inside my gem so Sidekiq finds them even though they are not in 'app/workers'?
It's hard to answer without knowing exactly what you are doing.
However I'd say that adding a procfile that people installing your gem can use would work.