add support for ENV GEM_SPEC

details in #430