Skip to content

Instantly share code, notes, and snippets.

@leesheppard
Created May 18, 2018 01:42
Show Gist options
  • Save leesheppard/eb3fe1f2cfc606ee3532df4563c22c66 to your computer and use it in GitHub Desktop.
Save leesheppard/eb3fe1f2cfc606ee3532df4563c22c66 to your computer and use it in GitHub Desktop.
example .gemrc file
# http://guides.rubygems.org/command-reference/#gem-environment
# <gem_command>: A string containing arguments for the specified gem command
# -N, --no-document - Disable documentation generation
# --[no-]document [TYPES] - Generate documentation for installed gems List the
# documentation types you wish to generate. For example: rdoc,ri
# --[no-]suggestions - Suggest alternates when gems are not found
gem: --no-ri --no-rdoc --no-document --suggestions
# The paths in which to look for gems
# :gempath:
# Force specification of gem server host on push
# disable_default_gem_server:
# A YAML array of remote gem repositories to install gems from
# :sources:
benchmark: false
# Verbosity of the gem command. false, true, and :really are the levels
verbose: false
# Enable/disable automatic updating of repository metadata
update_sources: true
# Print backtrace when RubyGems encounters an error
backtrace: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment