- use new ruby macros only when available

Darix said == 1315. This looks like it will trigger for Factory too, which we don't want. What is the Factory number anyway?