From e02ebc63d71e56e96a9b0fc16af4923bae7f29d1 Mon Sep 17 00:00:00 2001 From: Justin Stoller Date: Fri, 7 Feb 2014 12:22:16 -0800 Subject: [PATCH] Allow configuration of Gem source in Gemfile This commit allows configuring of the Gem source via an environment variable "GEM_SOURCE" with a default of 'https://rubygems.org'. This follows the conventions of Puppet Labs Open Source Platform team. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 9d1d35e..39687be 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -source 'https://rubygems.org' +source ENV['GEM_SOURCE'] || 'https://rubygems.org' group :development, :test do gem 'mime-types', '<2.0', :require => false