cookbook 'rubygems', '= 0.3.0'
rubygems (11) Versions 0.3.0 Follow16
Configures rubygems and bundler
cookbook 'rubygems', '= 0.3.0', :supermarket
knife supermarket install rubygems
knife supermarket download rubygems
Description
This cookbook configured "system" and Omnibus Chef gem sources.
Requirements
Omnibus Chef 11 or above
Usage
From a Vagrantfile, role, or environment definition, set something
like this, to point at a privately hosted rubygems mirror:
:rubygems => {
:gem_disable_default => true,
:gem_sources => [],
:chef_gem_disable_default => true,
:chef_gem_sources => [ 'http://33.33.33.51/rubygems/' ]
},
Attributes
# From attributes/default.rb
default['rubygems']['gem_disable_default'] = false
default['rubygems']['gem_sources'] = [ 'https://rubygems.org' ]
default['rubygems']['chef_gem_disable_default'] = false
default['rubygems']['chef_gem_sources'] = [ 'https://rubygems.org' ]
Recipes
default
Author:: Apache v2 (<Sean OMeara <someara@opscode.com>>)
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.3.0 passed this metric
Foodcritic Metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/34bd9cdcdd66d405b54463a6/rubygems/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/34bd9cdcdd66d405b54463a6/rubygems/metadata.rb:1
0.3.0 passed this metric
0.3.0 failed this metric
FC064: Ensure issues_url is set in metadata: /tmp/34bd9cdcdd66d405b54463a6/rubygems/metadata.rb:1
FC065: Ensure source_url is set in metadata: /tmp/34bd9cdcdd66d405b54463a6/rubygems/metadata.rb:1