I wanted to install a local Discourse environment, but since I’m behind an authenticated proxy I’m having all sorts of troubles. Maybe these notes can be of some help to others with the same starting conditions as mine.
I’m following the instructions here:
Steps 1, 2 and 3 completed succesfully, even if the screenshots in step 3 are outdated. The cloning button is not “Clone in Windows” but “Clone in Desktop” at it is at the right hand of the screen:
Step 4 didn’t work.
First, install the vagrant proxy plugin. In the Windows shell, issue:
Then in both cases issue:
vagrant plugin install vagrant-proxyconf
Now set the Vagrant proxy, in Windows:
Now you have to download the Vagrant box manually: the proxy didn’t work for me. So navigate with your browser to: https://d3fvb7b7auiut8.cloudfront.net/discourse-0.9.9.13.box
It will start downloading the vagrant disourse box, when it finishes, move the dowloaded file in the directory where your Vagrantfile resides.
You can now add the vagrant box, in the shell:
vagrant box add discourse-0.9.9.13 discourse-0.9.9.13.box
And install it:
Now enter in the virtual machine:
Now set the http proxy again (you’re now in the Linux virtual machine):
export http_proxy="http://user:password@host:port" export https_proxy=$http_proxy
I’m stuck here, this is the error I get:
Fetching source index from https://rubygems.org/ Retrying source fetch due to error (2/3): Bundler::HTTPError Could not fetch specs from https://rubygems.org/
How do I proceed?