VOOZH about

URL: http://rvm.io/workflow/proxy

⇱ RVM: Ruby Version Manager - Installing rubies behind a proxy.


👁 RVM Logo
Support
RVM is maintained by community of volunteers, report issues to RVM issues tracker.
If you can help or wish to become one of the maintainers - just start helping. You can find more RVM related projects at RVM Github organization.
Donation
Love RVM? Help us maintain RVM, a donation can help with it. Want to help in other way, want to be a sponsor?
contact: Michal Papis
Sponsors
👁 Fastly
Carbon Ads
Documentation  >  Workflow  >  proxy

Installing RVM behind a proxy

Export your shell environment for http proxy use

export http_proxy="http://hostname:port" or save it to your shell profile. (i.e. ~/.bash_rc)

export http_proxy="http://example.proxy_name.com:80"

For multi-user installs, use sudo -E to preserve the proxy settings in your environment:

curl -sSL https://get.rvm.io | sudo -E bash -s stable

Setting git to use a proxy

Set your git tool to use the environment proxy inside you ~/.gitconfig

[http]
 proxy = %http_proxy%

Using RVM behind a proxy

There are a few ways to use RVM from behind a proxy.

--proxy

You can pass the proxy sever to use directly to RVM:

rvm install X --proxy $domain_or_ip:$port

Using CURL

Set the proxy inside your ~/.curlrc:

proxy = example.proxy_name.com:80

Community Resources

RVM Documentation Index | RVM Blog
RVM Interpreters Rubies
Gemsets Set Actions Workflow Deployment
Integration
Packages Presentations Help & Support Quality Assurance Development Credits
∞ Copyright © 2009-2011 Wayne E. Seguin © 2011-2017 Michal Papis © 2016-2017 Piotr Kuczynski ∞ Built with Nanoc ∞ Cached by Fastly ∞ Tested by Travis CI