use configurable gem source

This uses the code that already exists in the Facter repo (for consistency) to allow the gem source when `bundle install`ing to be set by an environment variable.