Ruby Proxy URL: Difference between revisions
m (Created page with 'If you need to install gems behind a proxy which accepts basic authentication, you can use this syntax. <geshi> gem install term-ansicolor --http-proxy http://username:password@…') |
mNo edit summary |
||
Line 1: | Line 1: | ||
If you need to install gems behind a proxy which accepts basic authentication, you can use this syntax. | If you need to install gems behind a proxy which accepts basic authentication, you can use this syntax. | ||
<geshi> | <geshi lang="ruby"> | ||
gem install term-ansicolor --http-proxy http://username:password@proxy:8080 | gem install term-ansicolor --http-proxy http://username:password@proxy:8080 | ||
</geshi> | </geshi> | ||
[[Category:Ruby]] | [[Category:Ruby]] |
Latest revision as of 15:43, 13 February 2012
If you need to install gems behind a proxy which accepts basic authentication, you can use this syntax. <geshi lang="ruby"> gem install term-ansicolor --http-proxy http://username:password@proxy:8080 </geshi>