Solved

install ruby gem behind ISA

Posted on 2010-11-09
14
628 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
 
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Forefront is the brand name for Microsoft's major security product. Forefront covers a number of specific security areas and has 'swallowed' a number of applications under this umbrella including Antigen, ISA Server, the Integrated Access Gateway (t…
So the following errors occurs in 2 ways that I am aware of at this stage, and you receive one of the following error messages: ERROR 1. When trying to save a rule: No Web listener is specified for the Web publishing rule Autodiscovery Publishin…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now