Solved

install ruby gem behind ISA

Posted on 2010-11-09
14
639 Views
Last Modified: 2012-05-10
I am trying to install ruby gem behind ISA but I keep getting the following:

Error: Http://gems.rubyforge.org/ does not appear to be a repository
Error: could not find gem rails locally or in a repository


anybody knows how to fix this?

thanks
0
Comment
Question by:winperez
  • 8
  • 6
14 Comments
 
LVL 12

Expert Comment

by:JESii
ID: 34098002
I think now it's http://rubygems.org
0
 
LVL 12

Expert Comment

by:JESii
ID: 34098011
Also, on the Mac, you can just go to Terminal and try some of the commands ther:
Sorry; I don't know anything about MS Forefront; it might also be a configuration setting there.

  gem list     <== this lists the local gems
  gem list -r  <== this lists (a lot of) remote gems
  gem install <gem-name>
0
 

Author Comment

by:winperez
ID: 34098131
I can connect to ruby gems if I try from a computer not behind the firewall with the command below
Sudo gem install rais

But I can't connect when I try from a Mac behind the firewall
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 12

Expert Comment

by:JESii
ID: 34099093
This link:
  http://stackoverflow.com/questions/4418/how-do-i-update-ruby-gems-from-behind-a-proxy-isa-ntlm
has a couple of answers about setting up a proxy to get through the firewall.
0
 

Author Comment

by:winperez
ID: 34112439
we have two ISAs  2000 and 2006.  the updates can be installed from ISA 2000, but not from 2006. where is the setting in ISA2006 that need to change.
0
 
LVL 12

Expert Comment

by:JESii
ID: 34117565
What system are you running?  If you're on Linux or Mac, you would update your .bashrc file (that's the file that is run as part of your startup in Linux or when you start Terminal in Mac. This previous question and the answer might help you out in this case: http://www.experts-exchange.com/Programming/Languages/Scripting/Ruby/Q_26578638.html?sfQueryTermInfo=1+10+30+bashrc+jesii

If you're on a Windows machine, you'd need to set your environment variables (Right-click on Computer, select Properties and there will be a button for "Environment Variables" where you can set the value as described in the previous link describing the proxy settings.

I've not done this myself so I can't guarantee this will work, but it seems to me to be a reasonable approach.  Hope this helps.
0
 

Author Comment

by:winperez
ID: 34257090
I am using Mac. installed socks 5 and that doesn't work either
0
 
LVL 12

Expert Comment

by:JESii
ID: 34257369
Firewalls are crazy/complex beasties, as I'm sure you know. If you don't have a security administrator to help you that's tough. Are you the one trying to configure the firewall?

In any event, it looks like you might have to set firewall policy rules... possibly in the "Non-web server protocol publishing rule" (see image - just above the selected item). ISA firewall policy rule configuration or possibly with the generic "Access Rule" wizard.  See http://www.linglom.com/2008/01/07/getting-started-with-microsoft-isa-server-2006-part-iii-create-firewall-policy-rule/ for a little more about that.

If that doesn't help, I'm tapped out... sorry.
0
 

Author Comment

by:winperez
ID: 34270435
I am getting the following on the ISA 2006

first line
destination: xx.xx.xx.xx
destination port:80
protocol: HTTP
Action: Initiated Connection
Rule: My Rule
Client IP: my IP
Client Username: blank

second Liine:
destination: xx.xx.xx.xx
destination port:80
protocol:blank
Action: Closed Connection
Rule: My Rule
Client IP: my IP
Client Username: Anonymous


third line
destination: xx.xx.xx.xx
destination port:80
protocol: HTTP
Action: Closed Connection
Rule: My Rule
Client IP: my IP
Client Username: blank




0
 
LVL 12

Expert Comment

by:JESii
ID: 34273588
OK... have you checked out what the "My Rule" rule says? Here's a description of the "Rule" field, found at http://technet.microsoft.com/en-us/library/bb838824.aspx#WebProxyFilterLogFields.  "Rule" field description
0
 

Author Comment

by:winperez
ID: 34557471
My ISA firewall may have configuration problem. I need to reconfigure this
0
 
LVL 12

Accepted Solution

by:
JESii earned 500 total points
ID: 34619340
OK; let us know how that goes...
0
 

Author Closing Comment

by:winperez
ID: 34763310
I did everything you told me to do, but still couldn't get rubygem to install behind the ISA. my only solution was to add another soniwall firewall and skip the proxy.

thanks for trying to help out
0
 
LVL 12

Expert Comment

by:JESii
ID: 34767256
I'm really sorry that didn't work out, but glad that the at least were able to do what you wanted to do. Thank you for the opints.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In all versions of ISA Server and the current version of FTMG, the default https protocol uses TCP port 443 and 563 only. This cannot be changed within the ISA or FTMG GUI and must be completed from a Windows cmd prompt on the ISA Server itself. …
In Africa (and potentially where you live…), reliability of ISPs is questionable.  With the increased reliance on e-mail as one of the primary forms of communication, the costs to business are significant based on interuption of ISP Connectivity.  T…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question