Library cookbook which manages a RubyGems configuration file.
The default recipe configures the gem environment to disable the installation of documentation when gems are installed. A common use case for this cookbook is to configure the Chef Client's gem environment to an internal mirror if behind the veil of the corporate firewall.
Here is an example of how to use an internal Artifactory instance to mirror the RubyGems.org repository.
node.default['gemrc']['path'] = Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE
node.default['gemrc']['reload'] = true
node.default['gemrc']['config']['sources'] = ['http://artifactory.corporate.com/artifactory/api/gems/ruby-gems/']
include_recipe 'gemrc::default'