I'm creating a rails engine, which I have written some rake tasks in. My rake tasks call rake tasks in a 3rd-party gem, which I've included as a dependency in my gemspec.
When I try to run my rake tasks, it fails stating it cannot find the tasks from the 3rd party gem. Which makes senses considering Rake -T
shows my tasks, but not the 3rd party's.
If I include the 3rd party gem in my application gemfile, everything is perfect, but I don't want to do this.
I'm guessing I need to add another include to my engine's rake_tasks do
block, but no idea what to include. I've tried a variety of paths, but none seem to work.