tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

Manual Install Proxy Plugin #48

Closed heinzepreller closed 10 years ago

heinzepreller commented 10 years ago

Hi,

how can i install the proxy plugin "manually".

Its not possible for me to install the plugin with "normally" because no proxy is configured.

Regards Robert

johnbellone commented 10 years ago

What do you mean by manually?

If you want to install the plugin from the master branch (source):

$ git clone https://github.com/tmatilai/vagrant-proxyconf
$ cd vagrant-proxyconf
$ bundle install
$ bundle exec rake build
$ vagrant plugin install pkg/vagrant-proxyconf*.gem
snowch commented 10 years ago

@heinzepreller vagrant plugin install xxx should use your host's environment proxy settings, i.e. http_proxy=http://hostname:port

tmatilai commented 10 years ago

@heinzepreller yep, you need to set HTTPS_PROXY (and HTTP_PROXY for VMware plugins) env var so Vagrant can fetch the plugin from rubygems.org. Or you can download it manually from https://rubygems.org/gems/vagrant-proxyconf and vagrant plugin install path/to/vagrant-proxyconf-*.gem.

Instructions for installing from git can also be found in the wiki.

Closing this now, but please tell if these didn't answer your question.