Allow gem source to come from env vars

This will allow CI (among other things) to use a different mirror should
they so choose.
Merge pull request #933 from grimradical/env-for-gem-src

Allow gem source to come from env vars