add support for ENV GEM_SPEC, fix #430