Created
November 1, 2011 19:10
-
-
Save jch/1331576 to your computer and use it in GitHub Desktop.
gemrc example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
http**_**proxy: not http-proxy: (underscore, not dash)
Is beatificazione app 5 star
---
# 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
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
The docs link seems not work now, this one is ok: http://guides.rubygems.org/command-reference/#gem-environment