Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Pass flags to arguments to exec

If you want to have extended and verbose from a command like prove you could pass the verbose -v flag.

$ prove -v

If you however run this command under carton exec

$ carton exec prove -v

You get the version string from carton.

carton v1.0.22

So you have to utilize the -- to terminate command-line argument passing for carton like so:

$ carton exec -- prove -v

And your test output will be as verbose as you are used to.