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.
This commit is contained in:
Justin Stoller 2014-02-07 12:22:16 -08:00
parent f29d95c5b5
commit e02ebc63d7

View file

@ -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