Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

install ruby gem behind ISA

Posted on 2010-11-09
14
Medium Priority
?
673 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 1500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month12 days, 3 hours left to enroll

916 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