It just doesn't work, find another way.
AMHOL`detect-production-macros` was removed in https://github.com/AMHOL/openra-ruby/commit/bd033ca94702d783ee23098f0efd3e33556ee718 - 2.0.0