Last active
September 27, 2022 11:28
-
-
Save mpepping/2b1f79f34b287ecfee0663909b444a25 to your computer and use it in GitHub Desktop.
Ruby gemrc with install options, such as proxy settings
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
--- | |
# See 'gem help env' for additional options. | |
gem: --no-ri --no-rdoc | |
verbose: true | |
backtrace: true | |
bulk_threshold: 1000 | |
http_proxy: http://proxy.example.com:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
/etc/gemrc
location is specified ingem help env
.. but this can differ per Ruby runtime. The actual location can be checked by runningruby -retc -e 'p Etc.sysconfdir'