Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gemrc example
# http://docs.rubygems.org/read/chapter/11
---
gem: --no-ri --no-rdoc
benchmark: false
verbose: true
update_sources: true
sources:
- http://gems.rubyforge.org/
- http://rubygems.org/
backtrace: true
bulk_threshold: 1000
# HTTP Proxy options
# http-proxy: http://example.com:80
@bammoo

This comment has been minimized.

Copy link

bammoo commented Jul 16, 2014

The docs link seems not work now, this one is ok: http://guides.rubygems.org/command-reference/#gem-environment

@mlutescu

This comment has been minimized.

Copy link

mlutescu commented Mar 25, 2016

http**_**proxy: not http-proxy: (underscore, not dash)

@alecalciatore9

This comment has been minimized.

Copy link

alecalciatore9 commented Jun 8, 2016

Is beatificazione app 5 star

@czj

This comment has been minimized.

Copy link

czj commented Jun 24, 2016

---
# 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:

# Self explanatory :-)
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

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

Some more explanations if you need it

@belgoros

This comment has been minimized.

Copy link

belgoros commented Feb 7, 2017

As explained in Rubygems CLI reference, some options are deprecated:

Deprecated Options:

-​-[no-]rdoc - Generate RDoc for installed gems Use -​-document instead
-​-[no-]ri - Generate ri data for installed gems. Use -​-document instead
-u, -​-[no-]update-sources - Update local source cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.