iDevGames Forums
Ruby, MacPorts, Firewalls - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Ruby, MacPorts, Firewalls (/thread-2959.html)

Ruby, MacPorts, Firewalls - BeyondCloister - Nov 6, 2007 03:46 AM

Hopefully someone here can help me out.

I've got a Mac which I wish to install the applications required to run a Ruby on Rails applications.

I'm atempting to use MacPorts to install the packages.
This is not working and I suspect it is due to the firewall at the company I'm working at not allowing it to work.

Now in an ideal world one would be able to get the firewall opened up to allow this to work. However I'm in the fun situtation of being somewhere where the person who can do that is on holiday and no backup procedure is in place. This means I'm looking at a couple of weeks wait before I can get the firewall sorted out.

I don't have the time to wait so any suggestions on how I can proceed?

Ruby, MacPorts, Firewalls - DesertPenguin - Nov 6, 2007 06:32 AM

Ultimately it depends on the specifics of your situation, but most companies use some sort of outbound proxy for http.

To indicate to macports to use the proxy, I think you must set the http_proxy env variable:

Good luck :-)

Ruby, MacPorts, Firewalls - BeyondCloister - Nov 6, 2007 06:43 AM

Thanks but it looks like I'm stuck there as the secrets of the proxy server (if one exists as the web browsers have no proxy settings) are in the head of the person on holiday Sad

Ruby, MacPorts, Firewalls - OneSadCookie - Nov 6, 2007 04:57 PM

If the browsers have no explicit proxy settings, but there is an HTTP proxy, then they must be autodetecting it. You can google for the details (something about wpad) but it's usually quite straightforward to find out what's going on.

If you're behind a Microsoft NTLM proxy, you'll probably need to get around it. Any other authorization scheme is probably fine.