Is there an easy way using the gem command to ask "what would your output file be"?
Use case: I am wrapping several commands with a Makefile. With the version already built into my .gemspec (actually into a version.rb that gemspec includes, but same thing...), I don't want to hard-code it also into my Makefile. Since generation of my output file is built into gem build myspec.gemspec, best would be if I could just run something like gem tellmeoutputfile myspec.gemspec.
I did see How do I get the version from a gemspec file? which would work, but wanted to know if it is built into the gem command in any way?