IPs of RubyGems for proxy

How is the IP numbers I have to add in firewall to allow Rubygems?

We don't use Proxy, only IP restriction.

Look in your various gems, and see where they are sourced from. In Terminal or the local equivalent, type the following command:

  host server.hostname.dom

You should see back the primary ip address in reply.


Nice, tks!!

How port gems use?

They usually just use http URLs, so 80. It could vary on a case-by-case basis. Anything from github will be on 443, since they run everything through ssl. For a start, I would open 443 and 80 for each of the host addresses.