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:
parent
f29d95c5b5
commit
e02ebc63d7
1 changed files with 1 additions and 1 deletions
2
Gemfile
2
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
|
||||
|
|
Loading…
Reference in a new issue