Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4631

Get chain of calling rake tasks

$
0
0

Let's say I have a chain of rake tasks

taskA  --(calls)-->  taskB  --(calls)-->  taskC

Is there any way, in the middle of taskC to get the list of invoking rake tasks? I.e. the chain of rake tasks that have been called to lead up to this task?

caller returns a not-so-useful stack trace in this instance.

Thanks!


Viewing all articles
Browse latest Browse all 4631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>