Ruby, MacPorts, Firewalls

Posts: 592
Joined: 2002.12
Post: #1
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?
Quote this message in a reply
Post: #2
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 :-)
Quote this message in a reply
Posts: 592
Joined: 2002.12
Post: #3
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
Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #4
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Ruby on Rails setting Time to NULL BeyondCloister 3 5,663 Nov 21, 2007 09:56 AM
Last Post: AndyKorth
  Ruby: Resources for Learning iefan 10 10,095 Jul 4, 2007 08:54 AM
Last Post: ALX99066
  Ruby Gems and OpenGL Jaden 2 4,299 Apr 2, 2007 01:15 AM
Last Post: Jaden
  Embedding Ruby DesertPenguin 3 4,868 Jan 5, 2007 09:11 PM
Last Post: DesertPenguin
  probably a dumb question about ruby extensions... Duane 3 4,118 Jun 26, 2006 12:33 PM
Last Post: Duane